Unverified Commit 807abde2 authored by Gianmarco's avatar Gianmarco Committed by GitHub

docs: suggest cloning with depth=1 to avoid huge downloads (#36064)

* docs: suggest cloning with depth=1 to avoid huge downloads

* Update contributing.md
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>

* lint-fix
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 50530261
......@@ -19,6 +19,13 @@ To develop locally:
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your
own GitHub account and then
[clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
If you don't need the whole git history, you can clone with depth 1 to reduce the download size (~1.6GB):
```sh
git clone --depth=1 https://github.com/vercel/next.js
```
2. Create a new branch:
```
git checkout -b MY_BRANCH_NAME
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment