git:git-submodules
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
git:git-submodules [2024/11/30 19:16] – [Working with single submodule] admin | git:git-submodules [2024/12/12 08:44] (current) – admin | ||
---|---|---|---|
Line 67: | Line 67: | ||
If the submodule is not in the correct branch, these commands can be used to list the branches and set to the correct one (ex master) | If the submodule is not in the correct branch, these commands can be used to list the branches and set to the correct one (ex master) | ||
<code bash> | <code bash> | ||
- | git -C studwork | + | git -C / |
- | git -C studwork | + | git -C / |
</ | </ | ||
In general a git **command** on submodule can be acheived from main git repo by : | In general a git **command** on submodule can be acheived from main git repo by : | ||
<code bash> | <code bash> | ||
- | git -C studwork | + | git -C / |
</ | </ | ||
git/git-submodules.1732990616.txt.gz · Last modified: 2024/11/30 19:16 by admin