Skip to content

Instantly share code, notes, and snippets.

Jeff Hudson hudson155

View GitHub Profile
hudson155 / git-check
Created Jan 25, 2018
Check all repos for cleanliness
View git-check
#!/usr/bin/env bash
set -e
# List repositories
repos=$(find . -name ".git" | sed 's/^\.\/\(.*\)\/\.git$/\1/')
# Find longest repository name
while read -r repo; do
You can’t perform that action at this time.