Use specific branch in submodule

My website is hosted by Netlify. The theme is included as a submodule. This is working fine.

However, I would like to force the use of a specific branch (or release, actually) for the submodule.

Can I use my netlify.toml file in some way to specify the release explicitly?

It would need to be specified in the submodule creation, not in netlify.toml. I don’t see that it is possible to track releases, but branches should work. Check out the first answer here:

1 Like