gitとsvnの連携というかメモ
git-svnがインストールされてる前提として・・・
git svn clone -s {svnのURI} {outputディレクトリ名} # svnからコピー git clone --bare {outputディレクトリ名} {outputディレクトリ名.git} # bare化? chown -R apache:apache {outputディレクトリ名.git} cd {outputディレクトリ名.git} git update-server-info
とりあえずこれでOK。
WebDavとかで公開の場合はたとえイントラで使うとしても認証必須。
どうせなら
git svn clone -s --bare {svnのURI} {outputディレクトリ名}
で1発でbare化?させてくれたらいいのに・・・
追記・・・
これだけではまだだめだった・・後で調べよう・・・