X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7d7762cd477a35d5409f68394dc5a498eb5a29b8..b47ffe60e244c9165f40371736079320ea2d848b:/zsh/aliases/git.zsh diff --git a/zsh/aliases/git.zsh b/zsh/aliases/git.zsh index 8f68e81..afb1671 100644 --- a/zsh/aliases/git.zsh +++ b/zsh/aliases/git.zsh @@ -9,6 +9,8 @@ alias gup='git pull --rebase' alias gp='git push' alias gpf='git push --force-with-lease' +alias gpo='gp origin' +alias gpfo='gpf origin' alias gd='git diff' alias gdc='git diff --cached' @@ -40,17 +42,17 @@ 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' +compdef -e '__git_remote_branch_names_noprefix' gwa alias gcl='git config --list' alias gcp='git cherry-pick'