gists/git.md

292 B

Git

Submodules

  • Initialize a git submodule after a clone git submodule update --init --recursive

  • Update a git submodule git submodule update

  • Update the reference to the last commit in the submodule inside the parent repository git submodule update --remote --merge