Skip to content

Instantly share code, notes, and snippets.

Jeff Hudson hudson155

Block or report user

Report or block hudson155

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hudson155
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
longestName=0
while read -r repo; do
nameLength=${#repo}
You can’t perform that action at this time.