gitk: How to tell it “stop, don't load more co

2019-04-06 20:34发布

Just gitk or gitk --all can try to fill up all memory on big repository.

I know than I can gitk -n 1000 to limit it. Also I can killall git (or even Alt+SysRq+F if haven't stopped it in time) to stop it in middle of thrashing.

Is there more proper way to make gitk don't load more commits and stop it's git subprocess without hacks or lengthy gitk restart?

标签: git gitk
1条回答
手持菜刀,她持情操
2楼-- · 2019-04-06 20:50

You can also limit gitk by branchname. Instead of using gitk --all to see all branches, just use 'gitk branchname'. This might limit the range of commits.

查看更多
登录 后发表回答