Git Submodule
How to add
From How to Add GIT Submodule
Go to text ā
Bash command for adding submodule
git submodule add "${submodule_url:?}" "${path_where_to_add_submodule:?}"
Where submodule_url would be something like: git@gitlab.com:your-username/personal-assets.git
And path_where_to_add_submodule is the local file path under parent git repository where you want the submodule to be added.
Example use cases for submodule:
- Manage workspace with multiple vaults
- Separate Vault note GIT history from image asset history.
Children
Backlinks