其他分享
首页 > 其他分享> > git忽略本地修改不提交到远程仓库

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

作者:互联网

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

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

a490789580 发布了5 篇原创文章 · 获赞 2 · 访问量 5027 私信 关注

标签:index,git,仓库,unchanged,update,file,远程
来源: https://blog.csdn.net/a490789580/article/details/104539801