Skip to content

Instantly share code, notes, and snippets.

@gerjantd
Created October 16, 2012 10:57
Show Gist options
  • Save gerjantd/3898661 to your computer and use it in GitHub Desktop.
Save gerjantd/3898661 to your computer and use it in GitHub Desktop.
Shell/git: show most recent log entry for all repos in current dir
dorsthog@svl01-int-p:/data/git> for f in `find -mindepth 1 -maxdepth 1 -type d -name "*.git"`; do echo $f; pushd .; cd $f; git log|head -5; popd; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment