
git rm -r --cache
git add .
git commit -m "update .gitignore"
博客给出了使用Git更新.gitignore文件的命令。先使用git rm -r --cache清除缓存,接着用git add.添加文件,最后通过git commit -m \update.gitignore\提交更新。

git rm -r --cache
git add .
git commit -m "update .gitignore"
1639
15万+

被折叠的 条评论
为什么被折叠?