Git aliases I can’t live without

Being still quite new to git (and moving from world of VSS/TFS), I became big fan of Git’sĀ flexibility and configuration. It really boosts productivity andĀ makes developer’s life much easier.

Below I list git aliases I found most useful. For sure this list will grow in future. They need to be added to .gitconfig file in [alias] section:

[alias]
cam = commit -am
st = status
aa = add .
ba = branch -a
co = checkout
hist = log --oneline -10

Alternatively, they can be enabled via git command:

git config --global alias.st status

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.