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