tips & tricks

svn에서 git으로 옮겨타기

manywaypark 2013. 4. 5. 23:44

svn에서 git으로 소스트리 옮기기.

git-svn 설치 후 git remote add 후 push!

예를 들어 google code의 svn repo에서 github로 옮긴다면 다음과 같이 한다.

참고로 모든 변경 내역이 유지된다.

git svn clone http://[yourproject].googlecode.com/svn/trunk/path/to/code/

git remote add origin git@github.com:[youraccount]/[yourrepository].git

git push origin master


ref: http://bassistance.de/2009/08/20/getting-started-with-git-and-github-and-importing-from-subversion/


happy hackin'