diff --git a/scripts/push-module-repos.sh b/scripts/push-module-repos.sh index 1381120..42b2317 100755 --- a/scripts/push-module-repos.sh +++ b/scripts/push-module-repos.sh @@ -29,8 +29,8 @@ push_dir() { git -C "$tmp" -c user.email=marchon@gmail.com -c user.name="George Lambert" \ commit -q -m "Initial import of $name from zapier monorepo" git -C "$tmp" remote add origin "$GITSSH/${name}.git" - git -C "$tmp" push -u origin main - git -C "$tmp" push origin main:master || true + git -C "$tmp" push -u --force origin main + git -C "$tmp" push --force origin main:master || true rm -rf "$tmp" echo "pushed $name" }