📌  相关文章
📜  GIT - 在更改后添加 .gitignore 时清理被忽略的文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:24.131000             🧑  作者: Mango

代码示例1
# Remove the files from the index (not the actual files in the working copy)
$ git rm -r --cached .

# Add these removals to the Staging Area...
$ git add .

# ...and commit them!
$ git commit -m "Clean up ignored files"