요약
git clone --mirror {기존 팀 프로젝트 Repository 주소}
cd {기존 팀 프로젝트 Repository 명}.git
git remote set-url --push origin {개인 리파지토리 주소}
git push --mirror
1. git clone
기존 팀 프로젝트의 repository에서 로컬 폴더로 clone
git clone --mirror {기존 팀 프로젝트 Repository 주소}
2. 로컬 폴더로 이동
cd {기존 팀 프로젝트 Repository 명}.git
3. 개인 repository 주소로 저장소 url 변경 - remote set-url 사용
git remote set-url --push origin {개인 리파지토리 주소}
4. push
git push --mirror
'Study > Git' 카테고리의 다른 글
Repository 합치기 - commit log 유지 (0) | 2023.03.28 |
---|