Use more reliable method of getting latest code from origin/main during package building #17
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "reset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Based on this SO post https://stackoverflow.com/questions/1125968/how-do-i-force-git-pull-to-overwrite-local-files,
this PR changes to using
git reset --hard
in order to get the latest code from the default branch for packages it is building (when the -d flag is passed).This is a more reliable way to make sure you're building exactly the code you see in github.
Merging this as its a small change.