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:
committed by
Indrajit Raychaudhuri
parent
331adc4a69
commit
bd4e084ab0
@@ -272,4 +272,12 @@ if ! zstyle -t ':prezto:module:git:alias' skip; then
|
||||
alias gwC='git clean --force'
|
||||
alias gwx='git rm -r'
|
||||
alias gwX='git rm -r --force'
|
||||
|
||||
# Worktree management (W)
|
||||
alias gWa='git worktree add'
|
||||
alias gWl='git worktree list'
|
||||
alias gWx='git worktree remove'
|
||||
alias gWX='git worktree remove --force'
|
||||
alias gWm='git worktree move'
|
||||
alias gWc='git worktree prune'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user