diff --git a/docs/docs/how-to-contribute.md b/docs/docs/how-to-contribute.md index 30c778fa7b458..66dfa266cae6b 100644 --- a/docs/docs/how-to-contribute.md +++ b/docs/docs/how-to-contribute.md @@ -54,7 +54,7 @@ You can install the latest version of Gatsby by following these steps: The usual contributing steps are: - Fork the [official repository](https://github.com/gatsbyjs/gatsby). -- Clone your fork: `git clone https://github.com//gatsby.git` +- Clone your fork: `git clone --depth=1 https://github.com//gatsby.git` - Setup up repo and install dependencies: `yarn run bootstrap` - Make sure tests are passing for you: `yarn test` - Create a topic branch: `git checkout -b topics/new-feature-name`