git忽略本地修改不提交到远程仓库

忽略某文件提交到远程仓库
git update-index --assume-unchanged [file-path]

取消忽略某文件提交到远程仓库
git update-index --no-assume-unchanged [file-path]

发布了5 篇原创文章 · 获赞 2 · 访问量 5022

猜你喜欢

转载自blog.csdn.net/a490789580/article/details/104539801