Git - vvoovv/notes GitHub Wiki

Create a zip archive for the given commit:

git archive --format=zip --prefix=blosm/ HEAD > ../blosm.zip

Fetch and merge submodules:

git submodule update --remote

Pull updates to the main repo and to its submodules and apply the changes to the submodules:

git pull --recurse-submodules