Git

Git Repository migration

Young_J 2021. 2. 28. 17:54

 

저장소1의주소에서 저장소2의주소로 migration 하기.

 

$git clone --mirror 저장소1의주소

 

$cd 저장소1의주소.git

 

$git remote set-url --push origin 저장소2의주소

 

$git push --mirror

 

 

 

출처 : wrjeoung.tistory.com/15

 

[Git] 저장소 히스토리까지 전체 복사

저장소1의주소 > 저장소2의주소 로 복사. $git clone --mirror 저장소1의주소 $cd 저장소1의주소.git $git remote set-url --push origin 저장소2의주소 $git push --mirror

wrjeoung.tistory.com