📌  相关文章
📜  在现有存储库上应用 .gitignore - Shell-Bash 代码示例

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

代码示例1
First of all, commit all pending changes.
Then run this command:
git rm -r --cached .
This removes everything from the index, then just run:

git add .
Commit it:

git commit -m ".gitignore is now working"