Skip to content

Instantly share code, notes, and snippets.

@instanceofme
Created January 3, 2014 17:27
Show Gist options
  • Save instanceofme/8242195 to your computer and use it in GitHub Desktop.
Save instanceofme/8242195 to your computer and use it in GitHub Desktop.
Useful git aliases
[alias]
co = checkout
ci = commit
st = status
br = branch
cp = cherry-pick
rb = rebase
hist = log --pretty=format:\"%C(yellow)%h%Creset %Cgreen%ad%Creset | %s%Cblue%d%Creset %Cgreen[%an]%Creset\" --graph --date=short
type = cat-file -t
dump = cat-file -p
pr = pull --rebase
rbi = rebase --interactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment