Skip to content

Instantly share code, notes, and snippets.

@mdub
Created December 7, 2017 05:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdub/3aa24e890e7e6d4ba8b08cb99a9b4c7d to your computer and use it in GitHub Desktop.
Save mdub/3aa24e890e7e6d4ba8b08cb99a9b4c7d to your computer and use it in GitHub Desktop.
Git config
[alias]
b = branch
ci = commit
co = checkout
l = log --oneline --decorate --graph
s = status
pr = pull --rebase
cleanup = !git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d
[url "https://github.com/"]
insteadof = git@github.com:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment