Add `--depth=1` to git clone command

Add `--depth=1` to the README's git clone command to do a shallow clone of just the head of the repo. This will save users a little bit of network and disk if they're copy-pasting from the instructions.
This commit is contained in:
Cat Lee Ball 2022-09-17 14:09:43 -07:00 committed by GitHub
parent b699a7e01c
commit 41097c15cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Requirements: `tmux` version 1.9 (or higher), `git`, `bash`.
Clone TPM:
```bash
$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
$ git clone --depth=1 https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
```
Put this at the bottom of `~/.tmux.conf` (`$XDG_CONFIG_HOME/tmux/tmux.conf`