all启动gitk上下文菜单

all启动gitk上下文菜单

本文介绍了Git for windows用gitk-all启动gitk上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了用于Windows的Git。当我右键点击一个项目并选择 Git History 时,我得到了Gitk窗口,但每次我都需要设置视图来查看所有分支。即使我编辑视图并将其设置为记住,我仍然无法在后续访问Gitk时获得所有分支。



或者,我可以打开Bash窗口并输入 gitk --all 获得相同的结果。



这两个都不方便,我想做点右键的默认行为并选择 Git History 来显示 gitk --all

如何才能做到这一点?



谢谢。

解决方案

修改该上下文菜单项的注册表以添加参数--all


I have Git for Windows installed. When I right click on a project and select Git History I get the Gitk window, but every time I do so I need to set the view to see all branches. Even when I edit the view and set it to Remember, I still do not get all branches on subsequent visits to Gitk.

Alternatively, I can open the Bash window and type gitk --all for the same result.

Both are inconvenient and I'd like to make the default behavior of rght clicking and selecting Git History to show gitk --all.

How can this be accomplished?

Thanks.

解决方案

Modify registry of that context menu entry to add argument "--all"

这篇关于Git for windows用gitk-all启动gitk上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 21:00