A quick tip on how to avoid breaking repo state when working with Git submodules. By using the `--recurse-submodules=on-demand` push option (or `check` for CI environments), Git will automatically push submodule commits along with the parent repo. This behavior can also be set as a global default via Git configuration.

1m read timeFrom embeddedartistry.com
Post cover image
27 Impressions