Re-import module repos with --force for snapshot updates
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
This commit is contained in:
parent
392fe7bb15
commit
31fcd43dcc
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue