Skip to content

Instantly share code, notes, and snippets.

View trown's full-sized avatar

John Trowbridge trown

  • Chapel Hill, NC
View GitHub Profile
@slavafomin
slavafomin / git-submodules.md
Last active October 29, 2025 03:23
Git submodules best practices

Git submodules best practices

Useful commands

— Clone repository with submodules automatically:

git clone --recursive git@github.com:name/repo.git

— Initialize submodules after regular cloning: