]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/aliases/git.zsh
nvim: add FPP copyright snippet
[dotfiles.git] / zsh / aliases / git.zsh
index 043649f9604d6811e0da57a408d39c1222f5ae6f..f46ed9172b5ba989c844eabd40a2915faa9d14f7 100644 (file)
@@ -40,14 +40,18 @@ alias grrm='git remote remove'
 alias grset='git remote set-url'
 alias grup='git remote update'
 
-alias gb='git --no-pager branch'
+alias gb='git --no-pager branch -vv'
 alias gbv='git --no-pager branch -vv'
 alias gba='git --no-pager branch -a'
-alias gbm='git --no-pager branch --merged'
+alias gbm='git --no-pager branch -vv --merged'
 alias gbdm='git branch --merged | grep -ve "\*" -e "\+" -e "master" | xargs git branch -d'
 alias gsu='git branch --set-upstream-to'
 alias gsum='git branch --set-upstream-to=origin/HEAD'
 
+alias gwl='git worktree list'
+function gwa { git worktree add wt/$1 $1 }
+compdef _git gwa='_git_commits'
+
 alias gcl='git config --list'
 alias gcp='git cherry-pick'