git 查看各目录的最后一次修改时间
1 #!/bin/bash 2 git ls-tree -r --name-only HEAD | while read file; do 3 echo "$(git log -1 --format="%ai" -- $file) $file" 4 done | sort -r
1 #!/bin/bash 2 git ls-tree -r --name-only HEAD | while read file; do 3 echo "$(git log -1 --format="%ai" -- $file) $file" 4 done | sort -r