I must work with submodules - How can I change branches? [message #719789] |
Sun, 28 August 2011 23:18  |
Eclipse User |
|
|
|
Hi guys,
I use EGit (released with Indigo) to commit and push to a project.
This project has submodules, which currently are not properly supported by EGit.
However, I want to work with the rest of the project, meaning with the code, which is not in a submodule.
This creates a severe problem:
How can I checkout another branch?
When I go to Team > Switch To and choose a branch I always get the message:
"The files below have uncommited changes, which would be lost when checking out ... Please either add the changes to the repository by creating or amending a commit with these changes or dispose these changes by resetting your current HEAD."
Then follows a list of the folders with the submodules.
I do not want to have these folders in a following commit and resetting HEAD also does not help (it creates the same situation again).
I only want to change the branch, nothing else.
How can I do that?
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04445 seconds