#清除缓存
git rm -r --cached .
#添加
git add .
#提交
git commit -m "更新.gitignore"
#推送到远程地址 
git push github main:main

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注