Skip to content

Instantly share code, notes, and snippets.

View moritzebeling's full-sized avatar
🌍
Home on earth

moritzebeling moritzebeling

🌍
Home on earth
View GitHub Profile
@moritzebeling
moritzebeling / gitting_around.md
Last active July 24, 2020 18:35 — forked from myusuf3/delete_git_submodule.md
Some git snippets

Gitting around

To clone a repo with all its submodules:

  • git clone --recursive [git://url]

Add a submodule

  • git submodule add [git://url] [path/to/submodule]

Load submodules if they weren’t when cloning

  • git submodule update --init