docs: use shallow cloning instead of regular
This commit is contained in:
parent
3f2bde7971
commit
9356876dcf
|
@ -30,7 +30,7 @@ By clicking the button below you can fork this repo and deploy it to Netlify.
|
||||||
|
|
||||||
## Advanced
|
## 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`.
|
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 you’ve just copied `git remote set-url origin git@github.com:USER/REPO.git`.
|
3. Change remote of your local clone to the one you’ve 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`.
|
4. Push your local clone to GitHub `git push -u origin master`.
|
||||||
|
|
Loading…
Reference in New Issue