Forked from DianaEromosele/Change "origin" of your GIT repository
Last active
May 13, 2021 06:23
-
-
Save kno3comma14/72eee8b5e41d9eb142b0abe7135b70a5 to your computer and use it in GitHub Desktop.
Change "origin" of your GIT repository
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
$ git remote rm origin | |
$ git remote add origin <git_repo> | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment