Why is gitk not showing my local branch?

拟墨画扇 提交于 2019-12-05 03:03:42

Gitk by default only shows you the branch you are on.

It seems that when you launched gitk, your current branch was experiment. Therefore, gitk only showed you commits that lie on the experiment branch. This is the way gitk behaves by default because once you have a lot of branches, the branch names can actually be quite distracting.

gitk --all tells gitk to show all branches. At that point, gitk showed you the master.

You can create all kinds of views in gitk and you can launch it to use a pre-defined view. Checkout the "Edit View" menu entry.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!