Created
April 29, 2018 12:26
-
-
Save aleor/83ba4a5326e107ed932b3bf82e1057d9 to your computer and use it in GitHub Desktop.
Change git remote
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
check current: git remote -v | |
cd <root directory of your local repository> | |
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git | |
got remote -v | |
git fetch/push | |
*hint*: store credentials with Git for Windows: git config --global credential.helper wincred |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment