git 提交出错

From https://git.coding.net/changelink/fancheng
* branch master -> FETCH_HEAD
error: The following untracked working tree files would be overwritten by merge:
.project
Please move or remove them before you can merge.
Aborting

阅读 4k
2 个回答

把那个文件放到gitignore吧,这种文件是ide搞出来的,没用

删掉这个文件,或者重命名,然后再 pull 或者 fetch。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进