瀏覽代碼

add "depth 1" to git clone make it faster

Shuvalov Anton 6 年之前
父節點
當前提交
29b5cda5dd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -50,7 +50,7 @@ You will need to download the image, headers and libc-dev deb files for the vers
   ```
 1. Clone the linux-surface repo:
   ```
-   git clone https://github.com/jakeday/linux-surface.git ~/linux-surface
+   git clone --depth 1 https://github.com/jakeday/linux-surface.git ~/linux-surface
   ```
 2. Change directory to linux-surface repo:
   ```