카테고리 없음

git 레포지토리 mirror 하기

rlarudals 2024. 9. 19. 22:57

Mirror clonePermalink

git clone --mirror {old_repository_url}

위 단계에서 mirror clone한 repository를 새로 만든 repository로 push합니다.

cd {old_repository_name}.git
git remote set-url --push origin {new_repository_url}
git push --mirror