LoginSignup
2
2

More than 5 years have passed since last update.

git svn で特定ブランチだけをcloneする

Posted at

全体をcloneするにはリポジトリが大きすぎるとか、一時的な作業なのでリポジトリ全体はいらないとかがあるので特定ブランチだけをcloneしてみる。

git svn clone "https://svn.example.com/svn/repos/branches/feature/foo "C:/example/foo" --prefix=origin/

--prifix オプションがないと"not a git repository" とか言われて終了する。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2