Skip to content

Instantly share code, notes, and snippets.

@netwjx
Created August 16, 2013 08:26
Show Gist options
  • Save netwjx/6248237 to your computer and use it in GitHub Desktop.
Save netwjx/6248237 to your computer and use it in GitHub Desktop.
查找当前目录下所有git项目,并输出各自的最后修改时间
repos for i in (find . -type d -a -name .git -exec dirname '{}' \; | sed "s|./||"); echo $i; pushd $i; git log -1 --pretty=format:' %ci %s%n%n'; popd; end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment