Last active
March 11, 2016 09:04
-
-
Save guildenstern70/c29036fac0728cc80a34 to your computer and use it in GitHub Desktop.
Shell Script to change GIT repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git remote -v | |
git remote rm origin | |
git remote add origin https://[git repo] | |
git push -u origin master | |
git remote -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment