Skip to content

Instantly share code, notes, and snippets.

@chenqiyue
Created May 4, 2018 03:49
Show Gist options
  • Save chenqiyue/c55d8b8e91f8baacf72c0604e6a62102 to your computer and use it in GitHub Desktop.
Save chenqiyue/c55d8b8e91f8baacf72c0604e6a62102 to your computer and use it in GitHub Desktop.
copy from babun
[alias]
cp = cherry-pick
st = status
cl = clone
ci = commit
co = checkout
br = branch
dc = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all
last = log -1 --stat
unstage = reset HEAD --
boom = reset --hard HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment