8 comments

[ 3.0 ms ] story [ 41.1 ms ] thread
I didn't realize you could modify git command names. Initially it sounds like a good idea but I'm not sure I want to break my muscle memory. Saving a few keystrokes isn't worth the frustration and mistyping when I need to work from someone else's computer. This xkcd comes to mind: https://xkcd.com/1806/
Yea, overwriting `git mv` seems scary to me.
> I didn't realize you could modify git command names

Actually, you can't. From the git-config manpage:

aliases that hide existing Git commands are ignored

I prefer shell aliases for that because you can make them much shorter like "gb" for "git branch".
Huh, you know its a slow news day on HN when...