티스토리 뷰
저장소1의주소에서 저장소2의주소로 migration 하기.
$git clone --mirror 저장소1의주소
$cd 저장소1의주소.git
$git remote set-url --push origin 저장소2의주소
$git push --mirror
[Git] 저장소 히스토리까지 전체 복사
저장소1의주소 > 저장소2의주소 로 복사. $git clone --mirror 저장소1의주소 $cd 저장소1의주소.git $git remote set-url --push origin 저장소2의주소 $git push --mirror
wrjeoung.tistory.com
'Git' 카테고리의 다른 글
Git branch 옵션 정리 (0) | 2021.03.05 |
---|---|
Git remote repository 변경 (0) | 2021.03.03 |
push 된 file 에 .gitignore 적용시키는 방법 (0) | 2021.01.22 |
Git branch 나누기 (0) | 2020.12.21 |
Git 프로젝트파일 업로드 (0) | 2020.09.08 |