LoginSignup
4
4

More than 5 years have passed since last update.

[git][subversion][git svn] git-svn clone がなかなか終わらない時の対応方法

Posted at

長い間、使われているSVN(Subversion)のリポジトリはコミット履歴が多く、
git-svn clone するとなかなか終わらない事があります。

この場合、履歴は不要だけど、ファイルが必要な場合は、
最新のリビジョンだけを取得することで高速化できます。

git svn clone -r HEAD https://hogehohe.example.com/repos/fugafua

-r HEAD オプションを指定すると、最新のファイルだけを取得します。
-r 180:200 , -r 180:HEAD のように、リビジョンの範囲指定も可能です。

4
4
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
4
4