Git Tracks the Submodule’s State
Explore how Git tracks the precise commit state of submodules in a project. Understand tracking remote branches within submodules, updating submodules, and the differences between submodule states and remote branches. This lesson helps you manage submodules effectively without causing confusion.
We'll cover the following...
We'll cover the following...
Get the experimental branch
Since your alicelib submodule is a straightforward clone of the remote alicelib origin, you have the master branch and the origin’s experimental branch:
1 cd alicelib
2 git branch -a -vv
You are on the master branch (current HEAD location is indicated with a *), which is mapped to remotes/origin/master.
References Will Be Different
The refs (e.g.,ff75b7f) will be different in your output.
You do not have an experimental branch locally. However, if you check out a branch that ...