NetNewsWire/Technotes/SubmoduleCheatSheet.md
2018-08-28 22:18:24 -07:00

592 B
Raw Blame History

Git Submodules

NetNewsWire uses Git submodules to include shared frameworks. At this writing (June 2018) they are DB5, RSCore, RSDatabase, RSWeb, RSTree, and RSParser.

After your first checkout:

git submodule init
git submodule update

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