Skip to content

Instantly share code, notes, and snippets.

@muneneevans
Last active February 22, 2021 09:55
Show Gist options
  • Save muneneevans/0029d95a21c9b6ca8f0ffdde94a6d11f to your computer and use it in GitHub Desktop.
Save muneneevans/0029d95a21c9b6ca8f0ffdde94a6d11f to your computer and use it in GitHub Desktop.
recursive push#
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
for dir in $(find . -name ".git"); do cd ${dir%/*}; git push --all; cd -; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment