git rm 行为: 1.删除一个文件 2.将被删除的这个文件纳入缓存区 $ git rm a rm 'a' $ git status On branch master Changes to be committed: (use "git reset HEAD <file>..." to unstage) deleted: a 提交: 直接 git commit -m '' $ git commit -m 'delete a' [master 1cd6efe] delete…
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…