개발/Etc

SVN TO GITLAB 이전하기

정찡이 2020. 8. 7. 17:02
728x90

 svn에서 git으로 변경하려고 한다. tortoisegit 툴을 이용해서 변경하였고, svn2 git로 변경하려고 했으나 문제가 되어서 tortoisegit 툴을 이용해 변경하기로 하였다.

 

1. tortoisegit 설치

 

Download – TortoiseGit – Windows Shell Interface to Git

Other resources Debug symbols, language dlls and other resources can be found on our dedicated download server: download.tortoisegit.org/tgit/2.10.0.0/. Preview releases The preview releases are built from the latest code that represents the cutting edge o

tortoisegit.org

 


2. svn local git으로 clone

2-1. git clone 클릭

  • 아래 형광펜 부분을 클릭합니다.

2-2. 아래와 같이 선택

  • URL: SVN Repository에 존재하는 프로젝트 경로 넣기

  • Directory: git이 복사될 경로

  • 기타 설정: 아래와 같이 설정한다.

  • Ok 버튼 클릭하기


3. gitlab 서버에 프로젝트 생성

3-1 Group 생성

  • Groups 클릭 후, New group 선택 후, 새 그룹 생성한다.

3-2 Group 안에 Project 생성

  • Projects 페이지 들어간 후, New Project 클릭 후, 생성


4. Clone한 프로젝트 gitlab에 push

4-1. 아래와 같이 push 클릭

  • 형광펜 부분과 같이 push 선택

4-2. 아래 clone 주소 복사

  • Clone with HTTP 링크 복사

4-3. 4-2에서 복사한 것을 붙인 후, push 진행

  • Arbitrary URL에는 복사한 링크 넣고, 아래와 같은 옵션 선택 후, OK

완료되면완료되면 gitlab 사이트 가서 확인