Git

Git Repository 커밋 로그까지 복사하기

wow 2021. 8. 25. 01:07

- 기존 Repository 복사

git clone --mirror {기존 Repository 주소}

 

- 기존 Repository로 이동

cd {기존 Repository명.git}

 

- 새 Repository url 설정

git remote set-url --push origin {새로운 Repository 주소}

 

- 새 Repository에 기존 Repository Push

git push --mirror

 

- 결과 확인

git remote -v