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

Chr*_*ain 4 git git-svn fetch

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

git svn fetch --all
Run Code Online (Sandbox Code Playgroud)

但是,我还没有找到任何可以肯定地告诉我--all与的不同之处的参考git svn fetch,并且在git svn fetch使用或不使用该--all选项的情况下运行时都没有发现任何差异。有什么区别吗?

我正在使用Git 1.9.5。

jub*_*0bs 5

--all提到了该标志,但似乎没有在git-svn手册页中进行记录。但是,跑步

git log --grep="\-\-all" -- git-svn.perl
Run Code Online (Sandbox Code Playgroud)

在Git项目回购的克隆中,仅列出了两次提交,其中较旧的描述为--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.
Run Code Online (Sandbox Code Playgroud)

最近的这两个提交的指示短版本(-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'
Run Code Online (Sandbox Code Playgroud)

(进一步检查发现这两个提交到了发布v1.5.1.1版本,即您使用的Git版本之前:)v1.9.5