I\'ve been using git for some years now and always wondered why git diff prefixes the names of modified files with a/ and b/. I expected to eventually stumble upon a use-cas
If you want to add git diff --no-prefix to your .gitconfig manually, just add the following:
git diff --no-prefix
[diff] noprefix = true