They're not git aliases, but bash aliases for git commands.
You can also use bash functions within aliases, in order to provide richer functionality rather than mere command string replacement.
But one should avoid overuse of aliases, as it can severely hamper learning the raw commands.
Also, be sure to test the command the alias is defining.
Make sure you're not overriding any existing commands (unless that's your intention, I.E alias rm='trash').
You CAN after all, make an alias to replace even the most basic commands, and this can really screw your account...
alias ls='/bin/rm'
They're not git aliases, but bash aliases for git commands.
You can also use bash functions within aliases, in order to provide richer functionality rather than mere command string replacement.
But one should avoid overuse of aliases, as it can severely hamper learning the raw commands.
Also, be sure to test the command the alias is defining.
Make sure you're not overriding any existing commands (unless that's your intention, I.E alias rm='trash').
You CAN after all, make an alias to replace even the most basic commands, and this can really screw your account...
alias ls='/bin/rm'
just check
which new_alias
and it will tell you if there is something existing and you don't override by mistake.