X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/45b8f95647cf18d3f60e36cdbebe6d503a8dfcc3..refs/heads/lazyvim:/zsh/aliases/git.zsh diff --git a/zsh/aliases/git.zsh b/zsh/aliases/git.zsh index 043649f..f46ed91 100644 --- a/zsh/aliases/git.zsh +++ b/zsh/aliases/git.zsh @@ -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'