diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst --- a/llvm/docs/GettingStarted.rst +++ b/llvm/docs/GettingStarted.rst @@ -38,6 +38,9 @@ * ``git clone https://github.com/llvm/llvm-project.git`` * Or, on windows, ``git clone --config core.autocrlf=false https://github.com/llvm/llvm-project.git`` + * To save storage and time you may want to download the clone with a desire + depth, for example to get the latest revision of the LLVM project use + ``git clone --depth 1 https://github.com/llvm/llvm-project.git`` #. Configure and build LLVM and Clang: