Created
September 22, 2016 10:57
-
-
Save pedrojimenez/70f5296da1a8179e31cbc5e4799fb6a9 to your computer and use it in GitHub Desktop.
Lordpiotr GIT Gist
This file contains hidden or 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
| ## Change remote origin | |
| git remote set-url origin git://new.url.here | |
| git remote set-url origin git@comicteca.plan.io:comicteca-comicteca.comicteca_new.git | |
| ## Rename a Branch: | |
| git branch -m old_branch new_branch | |
| git push origin :old_branch | |
| git push --set-upstream origin new_branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment