commit 0dd633fe8a85c7540c5d24085f24ac9ea2e456af from: Thomas Adam date: Thu Jul 21 12:58:32 2022 UTC portable: maintscript: add GH remote Ensure that the remote GH repo is fetched from. commit - 3bfa5a0662f43509affe2e9d123e2bb5742f1cc6 commit + 0dd633fe8a85c7540c5d24085f24ac9ea2e456af blob - d7de13a739baefc5fa4da6858ed286ea21e1e9a3 blob + 532a9873eb66a776c0cac3b870884a777a0db172 --- maintscripts/sync-upstream.sh +++ maintscripts/sync-upstream.sh @@ -16,6 +16,7 @@ echo "Updating main from origin..." # Update our copy of main git checkout -q main && \ +git fetch -q -n gh >/dev/null 2>&1 git fetch -q -n upstream >/dev/null 2>&1 && \ git reset -q --hard upstream/main || { die "Couldn't fetch from main and reset to that branch"