Skip to content

Instantly share code, notes, and snippets.

@dawsbot
Created January 29, 2016 09:07
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 dawsbot/12b0fc6bb336cc8510ad to your computer and use it in GitHub Desktop.
Save dawsbot/12b0fc6bb336cc8510ad to your computer and use it in GitHub Desktop.
Always have your code in two git servers by backing up with Bitbucket
#Enter this as one line
git remote set-url — add — push origin git@bitbucket.org:dawsonbotsford/vimrcbuilder.git
#Re-add the original URL as well. Again do this with one line
git remote set-url — add — push origin git@github.com:dawsonbotsford/vimrcBuilder.git
#Verify everything worked
git remote -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment