Skip to content

Instantly share code, notes, and snippets.

@agrif
Created September 5, 2012 21:30
Show Gist options
  • Save agrif/3645160 to your computer and use it in GitHub Desktop.
Save agrif/3645160 to your computer and use it in GitHub Desktop.
# handy aliases
[alias]
co = checkout
stat = status
prune-all = !git remote | xargs -n 1 git remote prune
fetch-all = !git remote | xargs -n 1 git fetch
# do the right thing for gh:user/repo.git urls
[url "[email protected]:"]
pushInsteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
pushInsteadOf = "[email protected]:"
[url "git://github.com/"]
insteadOf = "gh:"
insteadOf = "github:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment