I would like to use shortcuts or aliases for git commands.
git diff git status git push git pull git stash git branch -a
How do I create shor
git config --global alias.
e.g.
git config --global alias.cob "checkout -b"
(Without --global, you get per-project aliases.)
--global