diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..9635257ec --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "submodules/RSCore"] + path = submodules/RSCore + url = https://github.com/brentsimmons/RSCore diff --git a/Technotes/SubmoduleCheatSheet.md b/Technotes/SubmoduleCheatSheet.md new file mode 100644 index 000000000..2615a7c6f --- /dev/null +++ b/Technotes/SubmoduleCheatSheet.md @@ -0,0 +1,8 @@ +# 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, RSWeb, RSTree, and RSParser. + +To add a submodule: + + git submodule add https://github.com/username/path + diff --git a/submodules/RSCore b/submodules/RSCore new file mode 160000 index 000000000..43e3f0a07 --- /dev/null +++ b/submodules/RSCore @@ -0,0 +1 @@ +Subproject commit 43e3f0a07aed5d3ffa3bec341625e3d743d3f568