From ec887105a8ac4e7d01f4f4273fd3d3e96f56ec2d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 17 Oct 2017 11:31:09 +0200 Subject: [PATCH] Set tracking branch when pushing Signed-off-by: Knut Ahlers --- bin/git-pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-pot b/bin/git-pot index 84c9fbb..356a4dd 100755 --- a/bin/git-pot +++ b/bin/git-pot @@ -18,7 +18,7 @@ step "Execute pre-push auto-hook" git autohook pre-push step "Execute pushes..." -git push origin ${CURRENT_BRANCH} --tags "$@" +git push -u origin ${CURRENT_BRANCH} --tags "$@" step "Execute post-push auto-hook" git autohook post-push