1
0
Fork 0
mirror of synced 2024-12-13 19:05:45 -05:00

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

View file

@ -15,7 +15,7 @@ Requirements: `tmux` version 1.9 (or higher), `git`, `bash`.
Clone TPM: Clone TPM:
```bash ```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` Put this at the bottom of `~/.tmux.conf` (`$XDG_CONFIG_HOME/tmux/tmux.conf`