개발모음집

To change the github remote repository address 본문

Server

To change the github remote repository address

void 2019. 9. 12. 10:00
$ git remote -v

<!-- View existing remotes (변경전 repository 확인) -->
origin  https://github.com/user/repo.git (fetch)
origin  https://github.com/user/repo.git (push)


<!-- (변경하려는 repository)-->
$ git remote set-url origin https://github.com/user/repo2.git 

 

출처 : http://minsone.github.io/git/github-managing-remotes-changing-a-remotes-url

'Server' 카테고리의 다른 글

install nginx, mysql at macOS  (0) 2019.10.22
ssh connection time increase  (0) 2019.09.13
error: failed to push some refs to 'git repository path'  (0) 2019.09.11
Dockerfile로 Docker 이미지 생성하기  (0) 2019.06.06
ssh install  (0) 2019.03.24