Skip to content

Instantly share code, notes, and snippets.

@monkpit
Created March 9, 2022 16:12
Show Gist options
  • Save monkpit/b35b276436f8258ba485a6f850f42eae to your computer and use it in GitHub Desktop.
Save monkpit/b35b276436f8258ba485a6f850f42eae to your computer and use it in GitHub Desktop.
Force push all repos
#! /usr/bin/env bash
# Replace "*" as needed
for d in *; do (cd $d; git push -f) &; done; wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment