We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc39938 + 3b54f07 commit 69a9d92Copy full SHA for 69a9d92
src/patch
@@ -138,7 +138,8 @@ echo "* STAGING *"
138
echo "************************************"
139
echo ""
140
# Create a blank branch to work on
141
-git switch --orphan tatter/scratch
+git checkout --orphan tatter/scratch
142
+git rm -rf .
143
144
# Bring over just what we need to recreate the framework
145
git checkout "$BASE" -- .gitignore composer.*
@@ -183,7 +184,7 @@ git commit -m "Patch framework" --no-verify
183
184
rm composer.*
185
186
# Create the new branch from base
-git switch -c tatter/patches "$BASE"
187
+git checkout -b tatter/patches "$BASE"
188
189
# Restore the original state of vendor/
190
composer install --no-scripts > /dev/null
0 commit comments