git忽略.classpath文件

原文链接:http://www.mytju.com/classCode/news_readNews.asp?newsID=611


把.classpath文件扔到git服务器上了,


每个人check后,修改jre什么的,必然有变动,

再pull的时候,总报冲突。

git update-index --assume-unchanged .classpath

即可。
------------------------
忽略未被Git管理的文件和目录,则是添加/.gitignore 文件
发布了244 篇原创文章 · 获赞 75 · 访问量 127万+

猜你喜欢

转载自blog.csdn.net/zhangbest2009/article/details/80000900