Skip to content

Instantly share code, notes, and snippets.

@thirdy
Created June 10, 2016 06:00
Show Gist options
  • Save thirdy/9bf9a8122a81c061d1498b0e26570a70 to your computer and use it in GitHub Desktop.
Save thirdy/9bf9a8122a81c061d1498b0e26570a70 to your computer and use it in GitHub Desktop.
Bash script for running multiple git status on multiple directories
#!/bin/bash
for REPO in */; do (cd "$REPO"; echo "status ----------------------------------------------------------------------------> " ${REPO}; git status); done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment