gitk: How to tell it “stop, don't load more commits”?

雨燕双飞 提交于 2019-12-21 12:08:08

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/5249851/gitk-how-to-tell-it-stop-dont-load-more-commits

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