Skip to content

Instantly share code, notes, and snippets.

@hbjydev
Created February 15, 2020 19:58
Show Gist options
  • Save hbjydev/4bcd3c5395b740281d7c210697067fbf to your computer and use it in GitHub Desktop.
Save hbjydev/4bcd3c5395b740281d7c210697067fbf to your computer and use it in GitHub Desktop.
Copy this file to /usr/bin/git-allrepos and then do `git allrepos {complete|clone|find-files|grep|list-repos|manual|sed}` to use any all-repos command.
#!/bin/bash
set -e
TOOL=$1
set -- "${@:2}"
all-repos-$TOOL $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment