diff --git a/logging.md b/logging.md index 90ea5d1..a216a81 100644 --- a/logging.md +++ b/logging.md @@ -73,4 +73,7 @@ git shortlog -s -n # View mostly commonly modified files, based upon commits. git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10 + +# View all files in Git with the date the file was last touched in Git. PowerShell. +git ls-tree -r --name-only HEAD | ForEach-Object { "$(git log -1 --format="%ai" -- "$_")`t$_" } ```