2 ms·
Speaking of diffs, one thing that annoys me about Git's diff output is that is prints file paths like Unix diff traditionally does, starting with the two file n
by atombender 2y ago
Speaking of diffs, one thing that annoys me about Git's diff output is that is prints file paths like Unix diff traditionally does, starting with the two file names:
--- a/some/path/to/file.c
+++ b/some/path/to/file.c
I often cmd-click in iTerm to open a file in an editor, but this doesn't work here because of the a/ and b/ prefixes. Any way to make Git format the file name better? I don't even need two lines here.
- deleted 2y ago[deleted]
- Jakob 2y agogit config --global diff.noprefix true Checkout the manual for more prefix options.
- atombender 2y agoPerfect, thank you.
- dangsux 2y ago[dead]