Git for windows launch gitk context menu with gitk

2019-04-11 18:16发布

问题:

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.

回答1:

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