Skip to content

Instantly share code, notes, and snippets.

@chrismarksus
Created April 17, 2015 15:53
Show Gist options
  • Save chrismarksus/953e58d3f8550c4ea72d to your computer and use it in GitHub Desktop.
Save chrismarksus/953e58d3f8550c4ea72d to your computer and use it in GitHub Desktop.
Git aliases
s = status -s
blist = for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(authorname) : %(refname:short) - %(contents:subject)'
lsa = config --get-regexp \"^alias\\.\"
scrub = !git reset --hard HEAD~10 && git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment