Git Command Shortcuts (#iosdev, #git, #tipsandtricks)

I found this tip to be very useful for adding a “co” shortcut to Git…

Git Command Shortcuts (aliases) (
I’ve been using Mercurial to track my personal development projects. However, Git appears to be more popular, and I’ve needed to use it. The two are very similar, but my biggest annoyance is that Mercurial automatically completes commands using the characters you have typed, so hg st is a shortcut for hg status. Git does not do this by default, but you can add shortcuts with: git config –global alias.shortcut command. Example: git config –global status. This makes me very happy. See the git aliases documentation on the git wiki for details.