Skip to content

Instantly share code, notes, and snippets.

View shivamvats's full-sized avatar

Shivam Vats shivamvats

View GitHub Profile
@slavafomin
slavafomin / git-submodules.md
Last active April 15, 2024 14:11
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: