git gc 有时候当你运行一些git命令(比如git pull)的时候,会有如下提示: 1 2 Auto packing the repository for optimum performance. You may also run "git gc" manually. See "git help gc" for more information. 翻译: 1 2 自动包装最佳性能的存储库. 你也可以手动运行 'get gc' .有关更多信息,请参见"…
Auto packing the repository for optimum performance. You may alsorun "git gc" manually. See "git help gc" for more information.Counting objects: 9231, done.Delta compression using up to 4 threads.fatal: Out of memory, malloc failed (tr…
rm -rf .git/gc.log ➜ test git:(abc) gp Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. warning: The last gc run reported the following. Please correct the root cause and remove .git/g…
如果正在使用svn,打算换到git,又暂时不想放弃已有的svn代码库,可以选择git-svn.说一说我自己从svn到git的经验吧. 开始 安装最新版本的git,从git 1.5.3以后支持git-svn,git和svn的配合就要借助这个功能. 安装完毕后要做一些简单的配置.最直接的做法就是创建修改~/.gitconfig.下面是我的.gitconfig [user] name = Robin Lu email = ---@gmail.com [color] diff = auto status…