git remote set-url origin을 통해서 변경함
| $ git remote -v $ git remote set-url origin https://github.com/user/repo2.git |
[링크 : http://minsone.github.io/git/github-managing-remotes-changing-a-remotes-url]
+
23.11.13
| 기존 리포지토리 remote 제거 git remote remove origin 새 리포지토리 remote 추가 git remote add origin https://github.com/계정/리포지토리 |
[링크 : https://gist.github.com/480/4681b67d2a906db8c6c1321cc678f05f]
'프로그램 사용 > Version Control' 카테고리의 다른 글
| git 리비전 돌아 다니기 (0) | 2018.10.18 |
|---|---|
| git 상태 다시 읽기 (0) | 2018.09.20 |
| git archive (svn export) (0) | 2018.09.05 |
| git rm 복구하기 (0) | 2018.08.22 |
| git branch (0) | 2018.08.22 |