Can't add files to my repository with Eclipse EGit

纵饮孤独 提交于 2019-12-04 03:16:18

I had a similar problem, where egit was failing on adding some files but not others. After many wasted hours I finally found the solution to my issue. Adding core.autocrlf=false solved the problem.

It could be similar to this thread:

Figured out the problem -- it was to do with Egit, not texlipse.
Turned out that there are issues with multiple projects in a work place, and I had some dead ones I'd removed from the workspace view but whose directories were still there.
Moving these folders out of the workspace seems to have fixed the issue.

Did you try with a workspace with only one project?

Is there an exception in the Error Log view? What version of EGit are you on? I know it's not something to be recommended but I'm living on the bleeding edge and use n-builds. They are quite stable and give far more options than the latest stable build.

Maybe this has something to do with permissions for other files/directories than .git, i had the same problem after setting up a git project from a root command line in debian, but after redoing the whole thing with from a user account command line there was no problem in eclipse anymore

Kind Regards, Tord

its a problem with your folder permission please give the write permission then try . i have a same problem but now resolved.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!