运行 git svn fetch --all 时,--all 选项有什么作用?

When running git svn fetch --all, what does the --all option do?

我一直在研究如何将 Git 与 SVN 存储库一起使用,并且有许多使用以下命令的参考资料:

git svn fetch --all

但是,我还没有找到任何参考文献明确告诉我 --allgit svn fetch 有什么不同,我也没有注意到 运行 [=14] 有什么不同=] 有或没有 --all 选项。有区别吗?

我正在使用 Git 1.9.5.

提到了 --all 标志,但似乎没有记录在 git-svn man page 中。然而,运行

git log --grep="\-\-all" -- git-svn.perl

在 Git 项目的 repo 的克隆中仅列出了两个提交,the older of which 描述了 --all:

By default, fetch will fetch everything from its default
[svn-remote]; if fetch [--all|-a] is specified, then it will
fetch from all svn remotes.

这两个提交的 most recent 表明短版本 (-a) 后来被删除,并且 --fetch-all 作为 --all 的同义词引入:

Note that the '-a' switch (short for --fetch-all/--all) has been
removed as it conflicts with the non-svn 'git fetch'

(进一步检查表明,这两个提交到发行版 v1.5.1.1,远远早于您使用的 Git 版本:v1.9.5。)