gitk:如何判断“停止,不加载更多提交”? [英] gitk: How to tell it "stop, don't load more commits"?

查看:151
本文介绍了gitk:如何判断“停止,不加载更多提交”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只要 gitk gitk --all 可以尝试填满大型资料库中的所有内存。



我知道我可以 gitk -n 1000 来限制它。我还可以 killall git (甚至在Alt + SysRq + F如果没有及时停止它)停止它在颠簸中。



是否有更正确的方法让gitk不会加载更多的提交,并停止它的git子进程而没有hack或冗长的gitk重启?

解决方案

你也可以通过branchname限制gitk。而不是使用gitk - 全部查看所有分支,只需使用'gitk branchname'。这可能会限制提交的范围。


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?

解决方案

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.

这篇关于gitk:如何判断“停止,不加载更多提交”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆