Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 718 Bytes

File metadata and controls

37 lines (23 loc) · 718 Bytes

packedForest submodule

Initial checkout

This both initializes the submodule and checks it out

git submodule update --init

git config updates

Fetch the submodule by default when you run git pull (without this it won't grab the submodule).

git config --global submodule.recurse true

Show submodule status on the command git status command (optional)

git config --global status.submoduleSummary true

Update submodule

This will pull in the latest commits from the tracked submodule repo

git submodule update --remote --merge

To push the update, make a commit and push

References

https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407