Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
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 31
Tags
more
Archives
Today
Total
관리 메뉴

짱이 될거야

GitLab 프로젝트를 GitHub으로 옮기기 (+커밋내역까지) 본문

Today I Learned

GitLab 프로젝트를 GitHub으로 옮기기 (+커밋내역까지)

jeong57 2022. 11. 21. 16:21

1. GitLab 프로젝트를 clone 받는다.

git clone --mirror [복사할 GitLab 프로젝트 주소]

 

2. clone 받은 Gitlab 프로젝트 폴더로 이동한다

cd [복사할 GitLab 프로젝트 주소]

 

3. 프로젝트를 넣을 GitHub 프로젝트 주소로 연결한다.

git remote set-url --push origin [받아올 GitHub 프로젝트 주소]

 

4. 프로젝트를 push  한다.

git push --mirror
Comments