티스토리 뷰

기타/Github

[Github] Repository clone

dv_jamie 2022. 6. 10. 20:37

깃허브에서 리포지터리를 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
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함