git svn 克隆失败,无法截断文件

git svn clone failed with couldn't truncate file at

尝试使用以下方法克隆我的 SVN 存储库:

git svn clone URL -T trunk -b branches -t tags

并得到这个奇怪的错误:

couldn't truncate file at /usr/lib/perl5/site_perl/Git.pm line 1322.

我该如何解决这个问题?

谢谢!

用 gitbash 代替 windows 终端再次尝试 -> 一切正常!