Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
function this-branch-commits-by-file() {
git diff --name-only main..HEAD | while read file_path; do echo $file_path && git rev-list --reverse main..HEAD -- $file_path | while read sha; do echo $(git rev-list --count main..$sha) ': ' $(git show --pretty=oneline -s --abbrev-commit $sha); done && echo; done
}