새로운 repo 에 git commit이력까지 복사하기
2023. 5. 2. 15:02ㆍCICD
git bash 창에 아래 순서 대로 입력한다.
git clone --mirror <기존 레파지토리 주소> // ex) git clone --mirror https://github.com/myunggiM/asis.git
cd asis.git // 로컬로 클론한 곳으로 이동
git remote set-url --push origin <신규 레파지토리 주소> // ex) git remote set-url --push origin https://github.com/myunggiM/tobe.git
git push --mirror // 신규 레파지토리에 push
'CICD' 카테고리의 다른 글
submodule 빌드 프로세스 개선 ( conflict 수 줄이는법! ) (0) | 2024.08.30 |
---|---|
Hmall 빌드 속도 개선 건 (21분 -> 9분) (0) | 2024.08.17 |
AWS- Bamboo 솔루션 별 개념 비교 (0) | 2023.05.02 |