Use more reliable method of getting latest code from origin/main during package building #17

Merged
mhfowler merged 2 commits from reset into main 2021-03-22 10:44:14 +00:00
mhfowler commented 2021-03-22 10:43:53 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No description provided.