[Git] Repository 복사하기
·
Git
git을 이용해서 타계정 소스코드를 자신의 저장소에 복사하는 방법을 알아보겠습니다. 우선, 복사할 Repository와 저장할 Repository 주소 값을 알아야 합니다. 아래는 예시 입니다. 복사할 Repository 주소 : https://github.com/jangareum03/old.git 저장할 Repository 주소 : https://github.com/jangareum03/new.git 1. git clone --mirror https://github.com/jangareum03/old.git 2. cd oId.git 3. git remote set-url --push origin https://github.com/jangareum03/new.git 4. git push --mirror ..