Add instructions for getting styleguidegit submodule

This commit is contained in:
benjamin melançon 2018-07-31 21:51:16 -04:00
parent c02034cf26
commit 808012b4f0

View file

@ -0,0 +1,24 @@
## Get submodules
This project includes the [Agaric styleguide](https://gitlab.com/agaric/styleguide) as a [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules).
### When cloning
```
git clone --recurse-submodules git@gitlab.com:agaric/sites/agaric-com.git
```
### If you cloned without `--recurse-submodules`
If in your initial clone you didn't do as above, you can get the styleguide with:
```
git submodule init
git submodule update
```
### Get updates
```
git submodule update --recursive --remote
```