clone depth

probably don't need depth more than 1, sometimes takes a pretty long time to clone o/w
This commit is contained in:
Operations Research Engineering Software+ 2018-06-22 00:13:35 -07:00 committed by GitHub
parent 41dc4218b9
commit e3e648c16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ For a fully manual install, create a folder somewhere in your filesystem with th
```sh
export NVM_DIR="$HOME/.nvm" && (
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
git clone --depth=1 https://github.com/creationix/nvm.git "$NVM_DIR"
cd "$NVM_DIR"
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"