# 有时候需要突然修改 .gitignore 文件,随后要立即生效 git rm -r --cached . #清除缓存 git add . #重新trace file git commit -m "update .gitignore" #提交和注释 git push origin master #可选,如果需要同步到remote上的话
更改 .gitignore
最新推荐文章于 2024-07-17 17:04:52 发布
# 有时候需要突然修改 .gitignore 文件,随后要立即生效 git rm -r --cached . #清除缓存 git add . #重新trace file git commit -m "update .gitignore" #提交和注释 git push origin master #可选,如果需要同步到remote上的话