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.
Workflow | Original: JAC Bug Workflow v3 [ 3449921 ] | New: SRCTREE JAC Bug Workflow [ 3739268 ] |
Workflow | Original: SourceTree Bug Workflow [ 1232046 ] | New: JAC Bug Workflow v3 [ 3449921 ] |
Status | Original: Verified [ 10005 ] | New: Gathering Impact [ 12072 ] |
Symptom Severity | New: Major [ 14431 ] |
Status | Original: Needs Verification [ 10004 ] | New: Verified [ 10005 ] |
Status | Original: Open [ 1 ] | New: Needs Verification [ 10004 ] |
Labels | New: SubModule git |
Description |
Original:
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 |
New:
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. |
Description |
Original:
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 |
New:
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 |
Thanks for the information, very helpful.