svn의 Repository를 git로 옮기는 방법

214 views
Skip to first unread message

세청 박

unread,
Jun 2, 2011, 9:44:40 PM6/2/11
to 제이랜서
# svn의 Repository를 git로 옮기는 방법


git-svn clone svn://주소/repo/Simple -Ttrunk -bbranches -ttags

=> svn의 프로젝트를로 git 저장소를 생성


git-svn clone -s svn://주소/repo/Simple


=> svn의 각 브랜치 trunk, tags, branches 로 저장 장소 생성


git-svn clone -s svn://주소/repo/Simple -rRevision 번호

=> -r 옵션으로 특정버전만 가져올때 사용한다.


git-svn fetch -rRevsion 번호

=> 특정버전의 소스만 가져옴


git-svn rebase

=> SVN으로 변경된 내용 반영(update)


git-svn dcommit

=> SVN 으로 Commit

Reply all
Reply to author
Forward
0 new messages