I build things with my hands. The human behind Shift - https://laravelshift.com, master of Git - https://gettinggit.com, and author of "BaseCode" - https://basecodefieldguide.com
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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If aliasing core commands is wrong and
git log --oneline
is only 3 keystrokes more thangit logo
why do you have an alias for it?git log --oneline
is not an alias for a core command. My issue is with an alias forgit log
itself, for examplegit l
. I believe such aliases obfuscate the commands and often don't save keystrokes.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.