From 702cc0c42c8112730bf9f8b83a48bf02808eea7e Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 27 Jan 2023 16:19:17 -0800 Subject: [PATCH] Change documentation to use shallow clones of the MP Repo PiperOrigin-RevId: 505234066 --- docs/getting_started/install.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/getting_started/install.md b/docs/getting_started/install.md index e630b073a..d7a028ec3 100644 --- a/docs/getting_started/install.md +++ b/docs/getting_started/install.md @@ -35,7 +35,7 @@ install --user six`. ```bash $ cd $HOME - $ git clone https://github.com/google/mediapipe.git + $ git clone -–depth 1 https://github.com/google/mediapipe.git # Change directory into MediaPipe root directory $ cd mediapipe @@ -287,7 +287,7 @@ build issues. 2. Checkout MediaPipe repository. ```bash - $ git clone https://github.com/google/mediapipe.git + $ git clone -–depth 1 https://github.com/google/mediapipe.git # Change directory into MediaPipe root directory $ cd mediapipe @@ -416,7 +416,7 @@ build issues. 3. Checkout MediaPipe repository. ```bash - $ git clone https://github.com/google/mediapipe.git + $ git clone -–depth 1 https://github.com/google/mediapipe.git $ cd mediapipe ``` @@ -590,7 +590,7 @@ next section. 7. Checkout MediaPipe repository. ``` - C:\Users\Username\mediapipe_repo> git clone https://github.com/google/mediapipe.git + C:\Users\Username\mediapipe_repo> git clone -–depth 1 https://github.com/google/mediapipe.git # Change directory into MediaPipe root directory C:\Users\Username\mediapipe_repo> cd mediapipe @@ -680,7 +680,7 @@ cameras. Alternatively, you use a video file as input. 6. Checkout MediaPipe repository. ```bash - username@DESKTOP-TMVLBJ1:~$ git clone https://github.com/google/mediapipe.git + username@DESKTOP-TMVLBJ1:~$ git clone -–depth 1 https://github.com/google/mediapipe.git username@DESKTOP-TMVLBJ1:~$ cd mediapipe ``` @@ -771,7 +771,7 @@ This will use a Docker image that will isolate mediapipe's installation from the 2. Build a docker image with tag "mediapipe". ```bash - $ git clone https://github.com/google/mediapipe.git + $ git clone -–depth 1 https://github.com/google/mediapipe.git $ cd mediapipe $ docker build --tag=mediapipe .