Created
March 19, 2019 03:15
-
-
Save tgrrr/1bacb63a79897517ec1dd825a5074b04 to your computer and use it in GitHub Desktop.
Github commands to follow after changing the ownership of a repo
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 checkout master | |
git remote -v # check what remotes are set | |
git remote rm origin | |
git remote -v # verify that the origin is removed | |
git remote add origin <git url> | |
git fetch origin | |
git branch -u origin/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment