EGit not playing nice with command-line Git? [message #1230409] |
Sat, 11 January 2014 18:19  |
Eclipse User |
|
|
|
Hi all,
I am using EGit 3.0.0.20130610825-r and am having a strange problem with my Git repository. I can commit changes to my repo using EGit and everything works. But if I then go to a command line, and run "git status" (git version 1.7.9) in the same repo, all my files show as modified still. I checked the git log and verified that my previous commit was, in fact, in the repo.
Thinking this was a one-off weird occurrence, I then committed all the "modified" files from the command line. But when I switched back to Eclipse, now EGit says all the files were modified.
Is there some version clash between EGit and command-line Git? Has anyone else run into this problem?
Thanks!
|
|
|
|
|
|
|
|
Re: EGit not playing nice with command-line Git? [message #1723344 is a reply to message #1230409] |
Sun, 14 February 2016 16:44  |
Eclipse User |
|
|
|
I was having the same problem on my Windows computer with Eclipse and Cygwin.
If I made committed in Eclipse, then it'd show files were modified in cygwin. If I committed in cygwin, it'd show files were modified in Eclipse.
I resolved the problem by running:
git config --global core.fileMode false
|
|
|
Powered by
FUDForum. Page generated in 0.05793 seconds