Skip to content

Latest commit

 

History

History
executable file
·
21 lines (14 loc) · 655 Bytes

change-remote-repository-url.md

File metadata and controls

executable file
·
21 lines (14 loc) · 655 Bytes

원격 저장소 주소 변경하기

git remote set-url 명령어는 원격 저장소 URL을 변경하는데 사용합니다.

# git remote set-url https://github.com/USERNAME/REPOSITORY.git

$ git remote -v
origin  https://github.com/byeonggukgong/old.git (fetch)
origin  https://github.com/byeonggukgong/old.git (push)

$ git remote set-url origin https://github.com/byeonggukgong/new.git

$ git remote -v
origin  https://github.com/byeonggukgong/new.git (fetch)
origin  https://github.com/byeonggukgong/new.git (push)

참고

GitHub Help, Changing a remote's URL