This is an old revision of the document!
Overview
Proper definition and usage of Git aliases. Note that this feature is provided on Fedora by the supplemental package git-extras.
Setting and listing aliases
How to set a regular Git alias:
$ git alias cm commit $ git alias co checkout $ git alias b branch $ git alias cb "checkout -b"
How to set a shell-style Git alias:
$ git alias bu "!git rev-parse --abbrev-ref --symbolic-full-name "@{u}""