📌  相关文章
📜  如何找到最旧的文件 git - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:35.605000             🧑  作者: Mango

代码示例1
This emits // just a "last edit date" for each file, in an ISO format that sorts nicely.

git ls-tree -r --name-only HEAD | while read filename; do   
   echo "$(git log -1 --date=iso --format="%ad |" -- $filename) $filename"