개발일기

svn to git

길동이이이잉 2024. 4. 10. 03:50
728x90
반응형
  • 방법 1
  1. $ git svn clone [svn repository 주소]
    $ git svn clone [svn repository 주소] -T trunk -b branches -t tags 처럼 옵션을 줄 수 있음
  2. 다운로드 된 폴더로 이동 후
    $ git status
    $ git log --all
    $ git branch -a
    입력해보고 프로젝트가 잘 다운로드 되었는 지 확인
  3. $ git remote add origin [git repository url]
  4. $ git remote -v
  5. $ git push origin master

https://artwook.tistory.com/323

https://lovia98.github.io/blog/svnToGit/

https://devofhwb.tistory.com/97

 

 

  • 방법 2

TortoiseGit의 git clone -> from svn repository를 이용

 

 

  • 방법 3
  1. $ git svn init [svn repository url] -T trunk -b branches -t tags
  2. $ git svn fetch
    중간에 실패로 중단되더라도 계속 반복함
  3. $ git remote add origin [git repository url]
    $ git remote -v
    $ git push origin master 

 


이후 단계

  • git에서 이클립스로 코드 가져오기

https://gabrielyj.tistory.com/173

https://zgundam.tistory.com/161

 

 

  • 이클립스 maven 설정

https://mainia.tistory.com/6431

https://copycoding.tistory.com/176

https://indienote.tistory.com/349

 

  • 프로젝트 실행 및 설치 파일 만들기

https://dokku.dev/exp/2120/

728x90
반응형