1.vim .gitignore
2.写入规则
3.esc :wq 保存退出
4.修改后要清除缓存
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
1.vim .gitignore
2.写入规则
3.esc :wq 保存退出
4.修改后要清除缓存
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
本文标题:Git忽略规则.gitignore
本文链接:https://www.haomeiwen.com/subject/jmasixtx.html
网友评论