File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,9 @@ echo "* STAGING *"
138
138
echo " ************************************"
139
139
echo " "
140
140
# Create a blank branch to work on
141
- git switch --orphan tatter/scratch
141
+ # git switch --orphan tatter/scratch
142
+ git checkout --orphan tatter/scratch
143
+ git rm -rf .
142
144
143
145
# Bring over just what we need to recreate the framework
144
146
git checkout " $BASE " -- .gitignore composer.*
@@ -183,7 +185,8 @@ git commit -m "Patch framework" --no-verify
183
185
rm composer.*
184
186
185
187
# Create the new branch from base
186
- git switch -c tatter/patches " $BASE "
188
+ # git switch -c tatter/patches "$BASE"
189
+ git checkout -b tatter/patches " $BASE "
187
190
188
191
# Restore the original state of vendor/
189
192
composer install --no-scripts > /dev/null
You can’t perform that action at this time.
0 commit comments