-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Laurie Carson edited this page Jul 22, 2019
·
6 revisions
Welcome to the garden wiki!
First, add manage_externals as a subtree:
- git clone https://github.com/llpcarson/garden
- cd garden/
- git subtree add --squash --prefix manage_externals https://github.com/ESMCI/manage_externals master
- git push origin master
Now, add a manage_externals config file, pointing to two constituent repositories, lettuce and tomato.
The config file can point to any repository, any branch or tag or hash, and put the contents in any subdirectory path.
Run manage_externals:
- ./manage_externals/checkout_externals
The default config file is Externals.cfg, but any config file can be specified on the command line.
For example, the default config file could list only the public/open repositories, and a different "restricted" config file could include the private repositories (for which users would need specific access to clone)