使用 araxis merge 在 git 分支上进行文件夹比较 (OSX)
我知道如何将 araxis merge 设置为我的 git diff / 合并工具,所以如果我执行 git difftool 它会自动启动 araxis merge。
但是,如果我执行 git difftool upper/master (以查看当前分支和上游/master 之间的所有差异),它会为每个不同的文件一一启动应用程序。有没有一种方法可以进行设置,以便我可以获得文件夹比较类型视图,然后向下查看我选择的每个文件差异? 即类似于此 http://www.araxis.com/merge_mac/overview2.html
我发现执行此操作的唯一方法是将我的存储库克隆到一个新文件夹中,切换到那里的分支,然后进行正常的 araxis 合并文件夹比较。
I know how to setup araxis merge to be my git diff / merge tool, so if I do git difftool it automatically launches araxis merge.
However if I do git difftool upstream/master (to see all the differences between current branch and upstream/master), it launches the app one by one for every single file that is different. Is there a way of setting it up so I can get a folder comparison type view, and then go down and view each file diff as I choose?
i.e. similar to this http://www.araxis.com/merge_mac/overview2.html
The only way I've found to do this is to clone my repo into a new folder, switch to the branch there, and then do a normal araxis merge folder comparison.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不知道您是否仍然对此感兴趣,但 Araxis 的最新版本提供了对 Git 存储库的直接访问:
http://www.araxis.com/merge/topic_plugin_git.html
因此,如果您想启动 Araxis 将您的 master 与 origin/master 进行比较,您应该能够使用
来获取最新的提交在 origin/master 中(例如
123456ab
)。然后,打开 Araxis 并使用您的工作副本文件夹作为比较的一侧 (/path/to/repo)
。另一侧应设置为然后,Araxis 会将您的 WC 与
origin/master
进行比较。I don't know if this is still interesting for you but recent versions of Araxis provide direct access to Git repos:
http://www.araxis.com/merge/topic_plugin_git.html
So, if you want to launch Araxis to compare your master to origin/master, you shall be able to do it using
to obtain the latest commit in origin/master (say
123456ab
. Then, open Araxis and use your working copy folder as one side of the comparison (/path/to/repo)
. The other side shall be set toThen, Araxis will compare your WC to
origin/master
.这不是一个特别令人满意的答案,但我发现的唯一方法是在进行比较之前让 difftool 将文件复制到临时位置:
这将允许您在一个根编辑器中打开任何文件进行比较。但是,它不适用于将增量复制回原始本地文件。不过总比什么都不做好,而且可以通过命令行轻松完成。
This isn't a particularly satisfying answer, but the only way I've found is to have difftool copy the files into a temp location before doing the diff:
This will allow you to open any file for diffing in one root editor. It won't work for copying deltas back into your original local files however. Better than nothing though and easy to do from the command line.