Tiny Git Tip


Brandur, on Twitter:

Git tip I wish I’d discovered ten years ago: if you git config --global diff.noprefix true it removes the silly a/ and b/ prefixes so that when you double-click select one to copy, you get a usable filename instead of a mangled path.

This is something I’ve always been annoyed by—I’m so glad there’s a fix!