Start using Eclipse GIT with an existing project ... project files get moved -
yesterday wanted start using eclipse egit on existing project next instructions on http://www.vogella.com/articles/egit/article.html
this tutorial suggests have git repository outside of workspace, , followed suggestion.
after step "5.5. using git staging view initial commit" committed initial commit. continued editing 1 of source files still open. when tried save changes, eclipse complained source file no longer there.
then checked both workspace , git folder, , project files in git. mentioned in tutorial. normal behavior?
even more surprising: in order go on working open files, copied project subfolder .git workspace folder. , seems fine. changes reflected in workspace folder in "unstaged changes" in git staging view , in git folder.
is expected behavior?
i found out files moved. needed close open project files , open them bundle explorer 1 time again (which open files git repository).
eclipse git version-control
No comments:
Post a Comment