Handy git aliases and config directives
By adding a few lines to ~/.gitconfig and you can alias "git co" to "git checkout", etc: [alias]
st = status
ci = commit
co = checkout
br = branch Also, you might find these will come in handy; [merge]
tool = opendiff
summary = true
[color]
diff = auto
status = auto
branch = auto
interactive = auto
Also, for a superb bash shell setup where you can see your current working branch, add this to your ~.bash_profile. As the comment suggests, you need to follow the instructions at these URLs to set up git properly first.
st = status
ci = commit
co = checkout
br = branch Also, you might find these will come in handy; [merge]
tool = opendiff
summary = true
[color]
diff = auto
status = auto
branch = auto
interactive = auto
Also, for a superb bash shell setup where you can see your current working branch, add this to your ~.bash_profile. As the comment suggests, you need to follow the instructions at these URLs to set up git properly first.
