[alias]
st = status -sb
ci = commit
br = branch
df = diff
lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lg = log -p
co = checkout
cp = cherry-pick
tree = log --graph --decorate --pretty=oneline --abbrev-commit --all
pom = push origin master
amend = commit --amend -C HEAD
wdiff = diff --color-words
standup = log --since yesterday --author jreddy@reddyonrails.com
rst = reset --hard
pr = pull --rebase
You can also add aliases like so, and they will get added to your
st = status -sb
ci = commit
br = branch
df = diff
lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lg = log -p
co = checkout
cp = cherry-pick
tree = log --graph --decorate --pretty=oneline --abbrev-commit --all
pom = push origin master
amend = commit --amend -C HEAD
wdiff = diff --color-words
standup = log --since yesterday --author jreddy@reddyonrails.com
rst = reset --hard
pr = pull --rebase
You can also add aliases like so, and they will get added to your
.gitconfig
file automatically.$ git config –-global --edit