From 220f16e471f7bbb615f977352fd845769924db83 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Wed, 22 Jan 2020 10:17:48 +0800 Subject: [PATCH] README.md: git: clone current commit only --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84865f886d..b308827d0d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ sudo apt-get install -y build-essential asciidoc binutils bzip2 gawk gettext git ## Clone the source ```bash -git clone https://github.com/project-openwrt/openwrt -b master && cd openwrt +git clone https://github.com/project-openwrt/openwrt -b master --depth 1 && cd openwrt ./scripts/feeds update -a && ./scripts/feeds install -a ``` For developer, you may use `dev` branch instead of `master`.