diff --git a/README.md b/README.md new file mode 100644 index 0000000..ec7f2c8 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +修改.gitignore后不生效 +git rm -r --cached . +git add . +git commit -m "update gitignore" + +在你的电脑进行以上操作后,那些文件正式脱离了版本管理的管制。git rm --cached 会保留你本机的文件,但是会从版本库里面删除。 \ No newline at end of file