Closed johncarl81 closed 3 years ago
Hmm, not sure why you had to go that far @Carter90, but that will do the trick, at least when the latest commit is the one we have assigned tot he submodule.
Investigaing further, I reverted to master, checked out this branch which gives me the following changes:
$ git checkout bump_srcp2_submodule
M srcp2-competitors
Switched to branch 'bump_srcp2_submodule'
$ git status
On branch bump_srcp2_submodule
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: srcp2-competitors (new commits)
Then running git submodule update
updates the submodule to the given commit:
$ git submodule update
Submodule path 'srcp2-competitors': checked out 'f58eaa1eba442289abad021d0d18803fc85742cd'
$ git status
On branch bump_srcp2_submodule
nothing to commit, working tree clean
to update your submoule run the following command: