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.
虽然我喜欢 github 内置的基于浏览器的比较工具来比较 pull request 的差异,但我想使用 winmerge 或任何其他外部工具来比较另一个 fork 和 master 的 pull request 之间的差异。我怎么能做到这一点而不在我的本地仓库中添加叉作为远程
git操作都是在本地进行的,所以如果diff不将其添加为remote.
git
diff
remote
只需将其添加为remote,fetch它,然后用于git difftool获取差异。如果您在那之后不需要遥控器,只需git remote rm它就可以了!
fetch
git difftool
git remote rm