NetNewsWire/Technotes/SubmoduleCheatSheet.md

20 lines
592 B
Markdown
Raw Normal View History

# Git Submodules
2018-08-29 07:18:24 +02:00
NetNewsWire 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.
After your first checkout:
git submodule init
2018-08-25 19:58:34 +02:00
git submodule update
To add a submodule:
git submodule add https://github.com/username/path
2018-06-21 22:26:37 +02:00
(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:
2018-06-21 22:26:37 +02:00
git submodule foreach git pull origin master