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.
1 parent 3062edd commit 35d1b8bCopy full SHA for 35d1b8b
.github/workflows/build_master.yml
@@ -50,7 +50,9 @@ jobs:
50
git config pull.rebase false
51
52
# Ensure we're on the target branch and up to date
53
- git pull --ff-only
+ # Handle force-pushed branches by resetting to origin/master
54
+ git fetch origin
55
+ git reset --hard origin/master
56
57
# Choose the file to keep at HEAD:
58
# 1) Prefer freshly built version from book/
0 commit comments