Use more reliable method of getting latest code from origin/main during package building #17
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-package-builder#17
Loading…
Reference in New Issue
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.