Skip to content

Instantly share code, notes, and snippets.

@goodjack
Created July 24, 2018 10:30
Show Gist options
  • Save goodjack/59f7398838334d04ea80410355563fd1 to your computer and use it in GitHub Desktop.
Save goodjack/59f7398838334d04ea80410355563fd1 to your computer and use it in GitHub Desktop.
顯示該目錄中所有 Git Repo 的最新 log 紀錄
find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo [{}] && cd {} && git log -1 --oneline --format="%C(auto) %h %s (%cr)")' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment