Linux/Gitlab
git to git migration - 2023
준섭이
2023. 12. 28. 11:09
728x90
### 2023년 git to git migration
## 원래 저장소
git clone --bare git@git주소/project.git
cd project
## 신규 저장소
### 신규 저장소
git remote add migration git@git주소:/project.git
git push migration --mirror
git push --all migration
### Migration 할 git에 Protected branches 에 보호 되어 있으면 해제하고 해야한다.
해당 Project -> Settings -> Protected branches