I also have aliases in my shell instead of git aliases.
st git status ...
gl git log ...
gd git diff ...
gg gitg
gup git pull --rebase
gb git branch
The dots mean there are more arguments. The point is, every once in a while I analyse my shell history and add aliases for the most used commands. Looking at it now, it seems I should add aliases for `git push` and `vi Makefile`.I also have the aliases g for git, m for make, and v for vim.
Yes, I have similar:
gs git status
gp git push
gac git commit -am
gc git commit
gcm git commit -m
gA git add -A
gC git checkout
ga git add
gd git diff
gm git merge
gmc git merge --continue
gpu git pull
grc git rebase --continue
The only problem is that I cannot use git on anybody else's machine, the muscle memory is too strongly ingrained now. This is a common message: The program 'gs' is currently not installed. You can install it by typing:
sudo apt install ghostscript
How much time does that actually save? I find that for any given task, I spend far more time reading and thinking than I do typing, and of the time spent typing, most of it is spent typing arguments.
The shorter a command is, the fewer typos can be made. Many times have I typed `git stauts` or `git ocmmit`
Of course, my personal solution instead of aliases was to switch to using SourceTree.
I discovered https://github.com/nvbn/thefuck a while ago and now I kind of enjoy making typos like this.