Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用 git-svn 克隆了一个 svn 项目 repo。当我获取提交时,如何检查我所做的提取中的所有分支是否没有要合并的提交?
对于给定的分支,您可以在该分支的 HEAd 和您获取的内容之间进行区分:
git diff ..remotes/git-svn
或者如果您只想要文件名:
git diff ..remotes/git-svn --name-status
例如,git-svn远程 svn 存储库的名称。
git-svn