Forked from DianaEromosele/Change "origin" of your GIT repository
Created
February 28, 2021 04:15
-
-
Save yaowang908/dc348c378ead20db20a28f3eee838b4d 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@github.com:aplikacjainfo/proj1.git | |
| $ git config master.remote origin | |
| $ git config master.merge refs/heads/master |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ git remote rm origin
$ git remote add origin git@github.com:xxxxxxxxx.git
$ git push origin main/master