From 95d5b19777bc3f3bdb279d2dd03728a239017f6b Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 28 Apr 2022 09:06:24 -0400 Subject: [PATCH] update gpsup git alias to properly get the current branch name --- chezmoi/dot_zshrc.d/executable_git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chezmoi/dot_zshrc.d/executable_git.zsh b/chezmoi/dot_zshrc.d/executable_git.zsh index 4529998..f426815 100644 --- a/chezmoi/dot_zshrc.d/executable_git.zsh +++ b/chezmoi/dot_zshrc.d/executable_git.zsh @@ -9,7 +9,7 @@ alias gcp='git cherry-pick' alias gd='git diff' alias gf='git fetch' alias gfo='git fetch origin' -alias gpsup='git push --set-upstream origin $(git_current_branch)' +alias gpsup='git push --set-upstream origin $(git branch --show-current)' alias gl='git pull' alias gm='git merge' alias gp='git push'