Skip to content

Instantly share code, notes, and snippets.

@cnlohr
Last active April 22, 2024 12:13
Show Gist options
  • Star 42 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save cnlohr/04de6edd3e2a75face0a68c53be2017e to your computer and use it in GitHub Desktop.
Save cnlohr/04de6edd3e2a75face0a68c53be2017e to your computer and use it in GitHub Desktop.
Git forgot to clone recursively (forgot to check out with recurse submodules)
@officialcjunior
Copy link

Thank you!
I visit this gist almost on a monthly basis.

@jakedowns
Copy link

jakedowns commented Sep 29, 2022

note, if the original repo had it's sub-repos pinned to specific checkouts, it seems like this method of cloning them is getting the latest versions, which could break things. :G

@cnlohr
Copy link
Author

cnlohr commented Nov 9, 2022

Do you know if there's another option for your preferred behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment