mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-12 07:40:49 -08:00
f
This commit is contained in:
4
.github/workflows/build_master.yml
vendored
4
.github/workflows/build_master.yml
vendored
@@ -50,7 +50,9 @@ jobs:
|
||||
git config pull.rebase false
|
||||
|
||||
# Ensure we're on the target branch and up to date
|
||||
git pull --ff-only
|
||||
# Handle force-pushed branches by resetting to origin/master
|
||||
git fetch origin
|
||||
git reset --hard origin/master
|
||||
|
||||
# Choose the file to keep at HEAD:
|
||||
# 1) Prefer freshly built version from book/
|
||||
|
||||
Reference in New Issue
Block a user