From 16bb4041694bf303aee444026acf7c943cbb4253 Mon Sep 17 00:00:00 2001 From: Adam Rabjerg Date: Tue, 18 Oct 2022 20:48:58 +0200 Subject: [PATCH] Now git commit also pushes to upstream. --- rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rebuild.sh b/rebuild.sh index 6223edb..58ebf4d 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -18,11 +18,11 @@ function build { echo -e "\nDo you want to continue?" -select yn in "Build" "Build and Upgrade" "Commit" "Exit"; do +select yn in "Build" "Build and Upgrade" "Commit and push" "Exit"; do case $yn in Build ) build;; "Build and Upgrade" ) build --upgrade;; - Commit ) git commit -a;; + "Commit and push" ) git commit -a && git push;; Exit ) exit;; esac done