Git Submodule Merge History Lost
There’s a Git repository locally where submodules were in temporary branches during the initial pull. I made commits on that temporary branch, and then switched back to the main branch. However, those committed changes seem to be lost and cannot be found within the main branch. I also can’t find any record of that temporary branch.
Solutions After committing to a temporary branch within the Git submodule and switching back to the main branch, these commits are no longer found.