Skip to content

Instantly share code, notes, and snippets.

@matt-fff
Last active December 9, 2017 22:21
Show Gist options
  • Save matt-fff/74cb8f94cc786c03b115be187a4efc91 to your computer and use it in GitHub Desktop.
Save matt-fff/74cb8f94cc786c03b115be187a4efc91 to your computer and use it in GitHub Desktop.
Useful Git Aliases
[alias]
co = checkout
cob = checkout -b
ci = commit
st = status
br = branch
rb = rebase
rbi = rebase -i
brc = "!f(){ git branch --merged | egrep -v \"(^\\*|master|dev)\" | xargs git branch -d; };f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment