Git submodule

Overview

git submodule add https://github.com/<user>/rock rock

Creates a .gitmodules file:

1
2
3
[submodule "DbConnector"]
	path = DbConnector
	url = https://github.com/chaconinc/DbConnector

VS Code Integration

Within the Source Control panel in VS Code, the submodule will show as its own repository next to the main repository. This makes

Sources

Built with Hugo. Theme Stack designed by Jimmy