Add --work-tree flag to work in .zprezto git repo
This commit is contained in:
parent
47d5e0e714
commit
9d4df00e52
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ Updating
|
|||
|
||||
Pull the latest changes and update submodules.
|
||||
|
||||
git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" pull
|
||||
git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" submodule update --init --recursive
|
||||
git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" --work-tree="${ZDOTDIR:-$HOME}/.zprezto" pull
|
||||
git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" --work-tree="${ZDOTDIR:-$HOME}/.zprezto" submodule update --init --recursive
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
|
Loading…
Add table
Reference in a new issue