Skip to content

Instantly share code, notes, and snippets.

@felipeek
Created January 21, 2019 12:30
Show Gist options
  • Save felipeek/41563394c7e41da7d98d2e297bc8deb9 to your computer and use it in GitHub Desktop.
Save felipeek/41563394c7e41da7d98d2e297bc8deb9 to your computer and use it in GitHub Desktop.
Change to github
#!/bin/bash
git remote set-url origin https://github.com/felipeek/squiggly.git
git remote add bitbucket https://Felipeek@bitbucket.org/Felipeek/squiggly.git
# From now on...
# git push origin ~> Updates GITHUB
# git push bitbucket ~> Updates BITBUCKET (if needed for some reason)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment