git의 remote-repository를 다른 node으로 옮길 때

1. 현재의 위치로 mirror 내용을 내려 받는다 .

git clone –mirror {current-remote-url} ./

2. 새로운 remote-repository으로 모든 내용을 업로드 한다( history 포함 )

 * mirror를 내려받은 디렉토리로 이동 후

git push –mirror {new-remote-repository}

Leave a Reply

Your email address will not be published. Required fields are marked *