日本語のみで絞り込む
2012/6/6 -In order to change the submodule to track a particular commit or different branch, change directory to the submodule folder and switch branches ...
2024/7/26 -Submodules do point to a specific commit, not a branch. If there's a branch on the commit you're on, you can just `git checkout `
git checkout can also be useful when you work on several branches in the superproject, each having your submodule pointing at different commits.
If you need to update a submodule to a specific commit, navigate to the submodule's directory and check out the desired commit:
2010/11/14 -Tie Git Submodules to a Particular Commit or Branch · Step 1 : Add the submodule · Step 2 : Fix the submodule to a particular commit · Step 3 : ...
The commit hash is what Git uses to know which exact state of the submodule to checkout. These commit references are stored in the main repository
--checkout Checkout the commit recorded in the superproject on a detached HEAD in the submodule. This option is only valid for the update command.
2020/8/8 -The submodules in there point to specific commits, but I need to checkout the master branch (or a different commit) of one of them (DiligentCore) ...
A git submodule is a record within a host git repository that points to a specific commit in another external repository. Learn more in this article.
2025/4/22 -Updating Submodule to a Specific Version · 1. Update to a Specific Branch or Tag · 2. Downgrade by One Commit · 3. Go to a Specific Commit.