1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2026-04-18 17:54:05 +00:00

git: add git worktree management aliases

This commit is contained in:
Benjamin Grandfond
2025-09-28 19:57:58 +02:00
committed by Indrajit Raychaudhuri
parent 331adc4a69
commit bd4e084ab0
2 changed files with 17 additions and 0 deletions

View File

@@ -323,6 +323,15 @@ zstyle ':prezto:module:git:alias' skip 'yes'
- `gwX` removes files from the working tree and from the index recursively and
forcefully.
### Worktree management (W)
- `gWa` add a new working tree.
- `gWl` list all working trees.
- `gWx` removes a working tree.
- `gWX` removes a working tree and forcefully.
- `gWm` moves a working tree to a new location.
- `gWc` prunes all the working trees.
### Shadows
The following aliases may shadow system commands: