Skip to content

Instantly share code, notes, and snippets.

@KrofDrakula
Last active December 12, 2015 06:29
Show Gist options
  • Save KrofDrakula/4729828 to your computer and use it in GitHub Desktop.
Save KrofDrakula/4729828 to your computer and use it in GitHub Desktop.
[alias]
st = status
ci = commit
br = branch
co = checkout
history = log --graph --pretty=format:'%C(yellow)%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr)%Creset: %s'
update = !git stash && git fetch && git rebase && git stash pop
branch-name = !git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment