Go projects application base
git submodule add -b main https://github.com/mitoteam/goapp.git internal/goapp
Disable commit hash tracking for submodule in .gitmodules
:
[submodule "goapp"]
ignore = all # ignore hash changes
Add use ./internal/goapp
to main project go.work
Do go mod tidy
Pull main project with submodules:
git pull --recurse-submodules