README.md: git: clone current commit only

This commit is contained in:
CN_SZTL 2020-01-22 10:17:48 +08:00
parent 52d630e7fc
commit 220f16e471
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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`.