DEV Community

Discussion on: Stop aliasing core Git commands

Collapse
 
gonedark profile image
Jason McCreary

git log --oneline is not an alias for a core command. My issue is with an alias for git log itself, for example git l. I believe such aliases obfuscate the commands and often don't save keystrokes.

Collapse
 
philnash profile image
Phil Nash

Your comparison of git log --oneline lies in a section where you are comparing keystrokes against core commands.

And frankly, as others have said, who are you obfuscating those commands to? Only yourself. Aliases don't overwrite core commands, so you are not making it harder for anyone else to use your command line, only making it easier and more comfortable for yourself.

This so called Right Way in this blog post is simply your opinion. And you would probably do better to not force it upon others.