NetNewsWire/Technotes/SubmoduleCheatSheet.md

15 lines
519 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Git Submodules
Evergreen uses [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to include shared frameworks. At this writing (June 2018) they are DB5, RSCore, RSDatabase, RSWeb, RSTree, and RSParser.
To add a submodule:
git submodule add https://github.com/username/path
(Its unlikely youll need to do that. Adding a submodule is done super-rarely, if ever, and its Brents call.)
To update all submodules to their latest commits:
git submodule foreach git pull origin master