카테고리 없음

macport에서 git-svn 쓰기

manywaypark 2012. 3. 12. 17:10
windows의 cygwin에서는 git-core package만 설하면 git-svn도 같이 설치되어 편하게 사용할 수 있었는데, mac의 macport에서는 git-core만 설치하면 git-svn이 설치되지 않는다.
다음과 같이 설치하면 된다.
sudo port install git-core +svn 

/opt/local/libexec/git-core/git-svn이 깔린 것을 확인 할 수 있다.
git-svn을 직접 실행해도 되지만 아마 PATH에 없을 것이다. 아래와 같이 git svn의 형태로 실행시키면 된다.
git svn clone [-s] http://url.to.svn.repo/

refs: 
 http://alecthegeek.wordpress.com/2007/09/20/getting-git-svn-working-on-the-mac/
 http://rajshekhar.net/blog/archives/343-git-svn-on-macports.html

happy hackin'