[GIT] SVN to GIT

0

GIT

목록 보기
1/1
post-thumbnail

순서대로 진행

$ git svn init [SVN Repository URL]
예) git svn init https://localhost:8443/svn/helloworld

$ git svn fetch
설명) 
fetch > local에 연결된 remote repository의 브랜치 목록과 파일 내용을 최신으로 업데이트 하는 명령어. 
즉, local과 remote의 싱크를 맞추는 새로고침 역할

$ git remote add origin [GIT Repository URL]
예) git remote add origin http://github.com/test.git

$ git push --all origin

확인 명령어
$ git status   
$ git config --local --list
profile
모두의 개발 시행착오를 줄이기 위해 차근차근 가고 있습니다.

0개의 댓글