Forked from DianaEromosele/Change "origin" of your GIT repository
Created
August 28, 2019 18:48
-
-
Save Clusiv/9036089f7cf38f6054e7d413f0d451e7 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 [email protected]: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 push --set-upstream origin master