原文链接:http://www.mytju.com/classCode/news_readNews.asp?newsID=611
把.classpath文件扔到git服务器上了,
每个人check后,修改jre什么的,必然有变动,
再pull的时候,总报冲突。
git update-index --assume-unchanged .classpath
即可。
------------------------
忽略未被Git管理的文件和目录,则是添加/.gitignore 文件
本文介绍了一种解决.git服务器上.classpath文件频繁冲突的方法。通过使用git update-index --assume-unchanged .classpath命令,可以避免因个人配置不同而导致的文件冲突问题。
原文链接:http://www.mytju.com/classCode/news_readNews.asp?newsID=611
把.classpath文件扔到git服务器上了,
2052
729
1427
362

被折叠的 条评论
为什么被折叠?