From 8048acd4eb5902dd73108ee1572a0a34285d5cae Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 10 Mar 2020 10:32:35 +0100 Subject: [PATCH] fix --- sgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgit b/sgit index 786a5b8..53c1933 100755 --- a/sgit +++ b/sgit @@ -31,7 +31,7 @@ git show if ! GIT_SSH_COMMAND="ssh -oPort=1022" git pull "${push}" "${branch}"; then echo "Konnte keine neuen Daten vom Server hollen!!!" fi -if ! GIT_SSH_COMMAND="ssh -oPort=1022" git push "${push}" "${branch}"; then +if ! GIT_SSH_COMMAND="ssh -oPort=1022" git push --set-upstream "${push}" "${branch}"; then echo "Konnte keine neuen Daten zum Server pushen!!!" fi git status