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.
你能告诉如何让 gitk 工具在悬停时显示分支名称或建议能够这样做的工具吗?
gitk 显示分支缠结,其中分支无名,我必须猜测哪个是 master,哪个是 stable 等。
在 gitk 窗口的左下半部分,您有一个信息行,指定Branches: dev, master, quux. 如果您选择一个提交,该行将告诉您可以从哪些分支访问该提交。
Branches: dev, master, quux
实际上,这就是您真正需要知道的一切;考虑到标准的 git 工作流程,它首先出现在哪个分支并不是真正有用的信息。
就该行列出的分支的顺序而言,它也不意味着任何一种时间顺序。它显然只是按字母顺序排序的。