반응형
참고
svn-migration-scripts.jar
4.60MB
마이그레이션
1. java -jar svn-migration-scripts.jar authors svn://192.168.1.107/wms_kr02 > authors.txt
실행 후 authors.txt에 메일을 알맞게 변경한다.
2. git svn clone --authors-file=authors.txt --no-metadata svn://192.168.1.107/wms_kr02
3. SourceTree에서 해당 폴더 Open 후, 저장소 설정에 GitLab 주소와 아이디 정보 저장한다.
4. 소스트리 해당 저장소 패치를 받는다.
5. Push를 진행하는데, Branch에 주의해서 강제푸쉬+모든 태그에 대해서 푸쉬를 진행한다.
GitLab 프로젝트에 푸쉬가 진행 잘 되었는지 확인한다.
GitLab 설정
자기 입맛에 맞게 GitLab Web에서 편집을 하도록 한다.
Server Clone
1. ssh-keygen
입력란 그냥 다 엔터를 후려 갈긴다(No 입력)
2. cat /root/.ssh/id_rsa.pub
퍼블릭 키 복사
3. GitLab Web에서 자기 계정 세팅 페이지에서 키 등록한다
4. git clone -b KR01_DEV(브랜치명) git@주소.git /home/경로
서버 GIT 버전 이슈로 클론이 안될수 있다. 아래를 참고하자
rpm -Uvh http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
yum --enablerepo=WANdisco-git --disablerepo=base,updates install git
728x90
반응형