From d14e8a1cf33b9ce61706a66472f35eae6b0b94f1 Mon Sep 17 00:00:00 2001 From: Alpyne Date: Mon, 20 Jul 2020 20:40:46 -0700 Subject: [PATCH] Create branch as orphan and push to origin --- create-branch.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/create-branch.sh b/create-branch.sh index 291338c..30f9ac2 100644 --- a/create-branch.sh +++ b/create-branch.sh @@ -14,7 +14,7 @@ fi # new branch echo "Creating branch '$1'" -git checkout -b $1 +git checkout --orphan -b $1 # find our version.json file echo 'Reading version_manifest.json...' @@ -46,5 +46,8 @@ echo "Decompiling client.jar..." $enigma decompile procyon client.jar src client.mappings echo "Committing changes..." -git add * +git add src/* git commit -m "Update to $1" + +echo "Pushing to origin..." +git push origin $1