Last active
January 12, 2018 06:34
-
-
Save jeonguk/496b33a95658dcf182566f3d7193053d to your computer and use it in GitHub Desktop.
git remote url change
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
기존 원격 저장소 URL을 변경하기 위해 git remote set-url 명령어를 사용 | |
$ git remote -v | |
# View existing remotes | |
origin https://github.com/user/repo.git (fetch) | |
origin https://github.com/user/repo.git (push) | |
$ git remote set-url origin https://github.com/user/repo2.git | |
# Change the 'origin' remote's URL | |
$ git remote -v | |
# Verify new remote URL | |
origin https://github.com/user/repo2.git (fetch) | |
origin https://github.com/user/repo2.git (push) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment