Skip to content

Instantly share code, notes, and snippets.

@nailuoGG
Created October 14, 2019 10:50
Show Gist options
  • Save nailuoGG/0aa8cba2f8b869c42a4b134f2c90acf9 to your computer and use it in GitHub Desktop.
Save nailuoGG/0aa8cba2f8b869c42a4b134f2c90acf9 to your computer and use it in GitHub Desktop.
git config --global alias.all '!f() { ls -R -d */.git | xargs -I{} bash -c "echo {} && git -C {}/../ $1"; }; f'
@nailuoGG
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment