티스토리 뷰
깃허브에서 리포지터리를 commit 이력까지 함께 복제하는 방법
* 필요한 것 : 기존 repository 주소 & 신규 repository 주소(복제할 리포지터리 미리 만들어두기)
git clone --mirror {기존 repository 주소}
cd {기존 repository명}.git
git remote set-url --push origin {신규 repository 주소}
git push --mirror
'기타 > Github' 카테고리의 다른 글
[GitHub] GitHub Pages 배포 (1) | 2022.10.01 |
---|---|
[Github] 소스 내려받기, 동기화 (0) | 2022.06.14 |
댓글