Skip to content

Instantly share code, notes, and snippets.

@brancz
Created March 18, 2014 21:22
Show Gist options
  • Save brancz/9629955 to your computer and use it in GitHub Desktop.
Save brancz/9629955 to your computer and use it in GitHub Desktop.
I recently wanted to check my config in all my git repositories. Since I keep them all in ~/git I could easily use the following few lines of shell.
#!/bin/sh
CWD=`pwd`
for i in `find . -type d -maxdepth 1`; do
cd $i
git config user.user
git config user.email
cd $CWD
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment