From f2fdd4506d7d4356d5b5a9e2e4c133e8b0740ed7 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Wed, 8 Oct 2014 13:45:00 -0500 Subject: [PATCH] gpsh now automatically sets up tracking for the current branch name --- zsh/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index b9fe0ba..bec7bec 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -89,7 +89,7 @@ alias gtr='grb track' alias gpl='git pull' alias gplr='git pull --rebase' alias gps='git push' -alias gpsh='git push' +alias gpsh='git push -u origin `git rev-parse --abbrev-ref HEAD`' alias gnb='git nb' # new branch aka checkout -b alias grs='git reset' alias grsh='git reset --hard'