Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-5446

Delete One Submodule will Delete all visible submodule entries of a repository.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 1.8.2.11
    • Git
    • Severity 2 - Major

      Delete One Submodule will Delete all visible submodule entries of a repository.

      Steps:
      -Add Two different Submodules to a Repo
      -Delete One of them with right click delete or by removing the submodule entry by hand from .gitmodules
      -see all othervisual entries are gone

      Solution:
      You forgot to call:
      -git rm --cached "full path"
      (Example: -git rm --cached Unity/dllProjects)

      Doing so is the clean way and will solve the problem/symptome

      http://stackoverflow.com/questions/1260748/how-do-i-remove-a-submodule

      You may want to Open Source SourceTree. I use it a lot and would solve those bugs in minutes.

            [SRCTREEWIN-5446] Delete One Submodule will Delete all visible submodule entries of a repository.

            minnsey added a comment -

            Thanks for the information, very helpful.

            minnsey added a comment - Thanks for the information, very helpful.

              Unassigned Unassigned
              b4f55c2f04ec racksel
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: