Today I Learned
GitLab 프로젝트를 GitHub으로 옮기기 (+커밋내역까지)
짱이 되었어
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