From 8a7c7f16dcdd1e50b775105d40a2d68889fcfefe Mon Sep 17 00:00:00 2001 From: Caetano D'Araujo Date: Thu, 15 Dec 2016 16:26:28 +0000 Subject: [PATCH] Fix git push upstream The option to send the branch to the upstream is -u or --set-upstream. Using git push upstream will try to send a branch named upstream to origin. --- plugins/git/git.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 9d8e4174a..532d71a6f 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -190,7 +190,7 @@ alias gp='git push' alias gpd='git push --dry-run' alias gpoat='git push origin --all && git push origin --tags' compdef _git gpoat=git-push -alias gpu='git push upstream' +alias gpu='git push -u' alias gpv='git push -v' alias gr='git remote'