Skip to content

Instantly share code, notes, and snippets.

@lukad03
Created April 16, 2018 16:34
Show Gist options
  • Save lukad03/9db960953210abdf88651312162b5b09 to your computer and use it in GitHub Desktop.
Save lukad03/9db960953210abdf88651312162b5b09 to your computer and use it in GitHub Desktop.
Git Aliases
[alias]
co = checkout
st = status
cm = commit
cob = checkout
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
d = diff
ds = diff --stat
dc = diff --cached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment