Forked from DianaEromosele/Change "origin" of your GIT repository
Created
March 1, 2022 16:04
-
-
Save elhe26/5feb9fff94d92380ba4bd2b47c471001 to your computer and use it in GitHub Desktop.
Change "origin" of your 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
$ 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment