From 60b8468b35facd4c8bfde119bac097fd8df17622 Mon Sep 17 00:00:00 2001 From: Jan Kaifer Date: Mon, 19 Dec 2022 20:02:25 +0100 Subject: [PATCH] Suggest contributors to use shallow clone (#44158) It will decrease the download size from `1.7GiB` to just `28MiB`. Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> --- contributing/core/developing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing/core/developing.md b/contributing/core/developing.md index 3614fe22e96b9b4..3fd6fa995bc91dd 100644 --- a/contributing/core/developing.md +++ b/contributing/core/developing.md @@ -7,9 +7,9 @@ To develop locally: 1. Install the [GitHub CLI](https://github.com/cli/cli#installation). -1. Clone the Next.js repository: +1. Clone the Next.js repository (downloads only the last commit for faster clone): ``` - gh repo clone vercel/next.js + gh repo clone vercel/next.js --depth=1 --branch canary --single-branch ``` 1. Create a new branch: ```