- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
每次我在特定项目上启动 Git Gui 时,我都会收到此消息:
This repository currently has approximately 320 loose objects.
然后我继续单击是,我得到了这个对话框:
问题是,当我再次打开 Git Gui 时,我得到完全相同的消息,又是大约 320 个松散对象!好像点击是根本没有任何效果。
最佳答案
只是简单地跳过 pop 窗口,如How to skip "Loose Object" popup when running 'git gui'在接受的答案中建议忽略 Git 正在向您传达可能的性能问题这一事实。这应该可以通过从命令行运行此命令来修复:
cd path/to/your/git/repo
git gc --aggressive
来自 git help gc
的输出:
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions (to reduce disk space and increase performance) and removing unreachable objects which may have been created from prior invocations of git add.
Users are encouraged to run this task on a regular basis within each repository to maintain good disk space utilization and good operating performance.
--aggressive
Usually git gc runs very quickly while providing good disk space utilization and performance. This option will cause git gc to more aggressively optimize the repository at the expense of taking much more time. The effects of this optimization are persistent, so this option only needs to be used occasionally; every few hundred changesets or so.
这应该可以防止提示 pop 一段时间。
关于Git 桂 : Perpetually getting "This repository currently has approximately 320 loose objects.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21457407/
有什么方法可以将用TASM ASSEMBLY编程的应用程序链接到Windows窗体应用程序或任何类型的GUI? 谢谢 最佳答案 用汇编语言开发GUI应用程序值得! 您可以在Windows,Linux或
我在 Git 中有一个存储库,其中大量文件被标记为正在被 Git Gui 编辑,当我单击其中一个文件时会出现一个对话框,其中包含: "No differences detected.
如何避免在 Git GUI 中扫描不必要的/临时文件?例如 obj、pdb 文件等...? 最佳答案 通常的机制适用,即: 在“.git/info/exclude”中列出目录、文件或模式 - 这将是每
每次我在特定项目上启动 Git Gui 时,我都会收到此消息: This repository currently has approximately 320 loose objects. 然后我继续
我是一名优秀的程序员,十分优秀!