Yesterday I wanted to start using Eclipse eGIT in an existing project, following the instructions at http://www.vogella.com/articles/EGit/article.html
This tutorial assumes that the git repository is outside the workspace, and I followed this suggestion.
After the step "5.5. Using git View for initial commit," I committed my initial commit. Then I continued editing one of my source files that were still open. But when I tried to save my changes, Eclipse complained that the source file was gone.
Then I checked both my workspace and the git folder, and the project files were only in git. This is not mentioned anywhere in the textbook. Is this normal behavior?
Even more surprising: to continue the normal work with my already open files, I copied project subfolder from .git back to the workspace folder. And now everything seems beautiful. My changes are reflected in the workspace folder, as well as in โUnspecified changesโ in the โw20โ view and in the git folder.
Is this the expected behavior?
source share