From cca16cc260fb1a605a39322654b24b7a8915e62d Mon Sep 17 00:00:00 2001 From: Martin Gondermann Date: Sun, 27 Mar 2016 19:51:16 +0200 Subject: [PATCH] git clone --depth=0 is invalid, Fixes #241 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1419a3..c05c53d 100644 --- a/README.md +++ b/README.md @@ -106,10 +106,10 @@ fi ```sh cd ~ -git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=0 +git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1 ``` -Add to the `~/.bashrc`: +Add to the `~/.bashrc`: ``` source ~/.bash-git-prompt/gitprompt.sh GIT_PROMPT_ONLY_IN_REPO=1