From 5a4e99ff7724ef2c60231fefdc6876d7b423492f Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 18 Sep 2020 04:55:23 -0500 Subject: [PATCH] fix(plg): use set-upstream origin master with git push --- dynamix.unraid.net.plg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamix.unraid.net.plg b/dynamix.unraid.net.plg index 58391c288..f01311f83 100644 --- a/dynamix.unraid.net.plg +++ b/dynamix.unraid.net.plg @@ -800,10 +800,10 @@ if (($command == 'update') || ($command == 'reinit')) { exec('git -C /boot add -A &>/dev/null'); if ($command == 'reinit') { exec('git -C /boot commit -m \'Initial commit\' &>/dev/null'); - exec('git -C /boot push --force origin master &>/dev/null'); + exec('git -C /boot push --force --set-upstream origin master &>/dev/null'); } else { exec('git -C /boot commit -m \'Config change\' &>/dev/null'); - exec('git -C /boot push &>/dev/null'); + exec('git -C /boot push --set-upstream origin master &>/dev/null'); } } }