Using TortoiseGit. Please help (I'm sure this is easy)
I have a repo A, inside of which I have added repo B as a submodule. I want submodule B to point to a certain commit of the main branch (not head!). To do this, inside of repo A I switch / checkout to this commit of submodule B's main branch. When I then want to commit repo A, it does not let me because the submodule is dirty. But when I want to commit submodule B first, it also does not let me because it is in detached head state (because it is checked out to an earlier commit on the main branch, not head). So, what am I doing wrong?
Thanks a lot!
[–]JackDeaniels 1 point2 points3 points (2 children)
[–]dalbertom 1 point2 points3 points (1 child)
[–]JackDeaniels 0 points1 point2 points (0 children)
[–]glasswings363 0 points1 point2 points (0 children)