git忽略以提交的文件

git rm -r --cached .
git add .
git commit -m 'update .gitignore'

参考资料:https://developer.aliyun.com/article/634481

posted @ 2023-04-09 12:38  tiansz  阅读(30)  评论(0)    收藏  举报