git clone --depth=0 is invalid, Fixes #241

master
Martin Gondermann 10 years ago
parent 3fe5e519dc
commit cca16cc260
  1. 4
      README.md

@ -106,10 +106,10 @@ fi
```sh ```sh
cd ~ 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 source ~/.bash-git-prompt/gitprompt.sh
GIT_PROMPT_ONLY_IN_REPO=1 GIT_PROMPT_ONLY_IN_REPO=1

Loading…
Cancel
Save