docs: use shallow cloning instead of regular

This commit is contained in:
Alexey Avdeev 2018-06-14 12:30:20 +03:00 committed by GitHub
parent 3f2bde7971
commit 9356876dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ By clicking the button below you can fork this repo and deploy it to Netlify.
## Advanced
1. Clone this repository locally `git clone git@github.com:shower/shower.git`.
1. Create a shallow clone of this repository locally `git clone --depth=1 git@github.com:shower/shower.git`.
2. [Create](https://github.com/new) a new blank repository and copy its cloning address `git@github.com:USER/REPO.git`.
3. Change remote of your local clone to the one youve just copied `git remote set-url origin git@github.com:USER/REPO.git`.
4. Push your local clone to GitHub `git push -u origin master`.