Skip to content

Instantly share code, notes, and snippets.

@daniellowtw
Created March 3, 2021 13:26
Show Gist options
  • Save daniellowtw/997e6a34bda4097b0c33b61d35a0010a to your computer and use it in GitHub Desktop.
Save daniellowtw/997e6a34bda4097b0c33b61d35a0010a to your computer and use it in GitHub Desktop.
gitconfig
[alias]
st = status
co = checkout
br = branch
ci = commit -av --no-status -q
unstage = reset HEAD --
last = log -1 HEAD
recent = for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'
logd = log --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
rbc = rebase --continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment