Create branch as orphan and push to origin
This commit is contained in:
parent
225377ea05
commit
d14e8a1cf3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue