git 저장소 주소 repository 변경하기


git 저장소 주소 repository 변경하기

git 저장소 주소 repository 변경하기 Git에서 remote repository를 다른 주소 URL로 변경해 보자. 예를 들어 기존의 repository에서 형상관리를 하다가 새로운 repository를 생성 한 경우,새 repository로 형상관리를 하겠다라고 한다면 기존의 주소를 새로운 저장소 주소로 바꿔주어야 한다. 기존 주소 : https://github.com/user/repo1.git 새로운 주소 : https://github.com/user/repo2.git 먼저 현재 연결된 주소를 확인. //결과 origin https://github.com/user/repo1.git (fetch) origin https://github.com/user/repo1.git (push) git r..


원문링크 : git 저장소 주소 repository 변경하기