Skip to content

Instantly share code, notes, and snippets.

@atnan
Created September 7, 2010 01:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atnan/567728 to your computer and use it in GitHub Desktop.
Save atnan/567728 to your computer and use it in GitHub Desktop.
# Add this to your global ~/.gitconfig so that your read-only
# Git URLs (e.g. in submodules) are swapped out for your
# read-write URL
#
[url "https://USERNAME@github.com/USERNAME/"]
insteadOf = "git://github.com/USERNAME/"
insteadOf = "http://github.com/USERNAME/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment