I must work with submodules - How can I change branches? [message #719789] |
Mon, 29 August 2011 03:18 |
Joerg Messages: 6 Registered: August 2011 |
Junior Member |
|
|
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?
|
|
|
|
|
|
|
|
|
|
|
|
Re: I must work with submodules - How can I change branches? [message #728917 is a reply to message #719789] |
Sat, 24 September 2011 11:17 |
Joerg Messages: 6 Registered: August 2011 |
Junior Member |
|
|
Thanks for the Info, Matthias!
I have tried the SR1 release and EGit 1.1.
Well, submodules still do not work, but(!) changing branches and even updating submodule pointers is working without an error now. Before, this broke everything so that I had to redownload the whole repository.
That's what I call a good start!
Thank you, guys!
PS: And I just saw that there already is a patch in Gerrit, which adds submodule support. It becomes even better.
[Updated on: Sat, 24 September 2011 12:28] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.23606 seconds