2

The Eclipse Team Provider for Git works but i do not see any changes for submodules when I use synchronize.
I see changes with the diff on the command line and also with tortoise i see the changes.

So, does anyone know ho to use Git and Eclipse in a way that synchronize and commit works with submodules?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
mgiaco
  • 319
  • 1
  • 5
  • 17

1 Answers1

6

The "Working with Submodules" section shows the submodules in the Git Repositories view:

https://wiki.eclipse.org/images/7/70/Egit-13-submodules-node.png

From there, you have access to two actions:

  • Selecting the Update Submodule action on a submodule will check out the commit referenced in the parent repository's index for that submodule.
    This command will also perform a merge or rebase if that has been configured in the update field for the selected submodule's configuration section in the parent repository's .git/config file.

  • Selecting the Sync Submodule action on a submodule will update the remote URL used by the submodule from the current value in the .gitmodules file at the root of the working directory of the parent repository.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250