Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (3 sloc) 316 Bytes
function this-branch-commits-by-file() {
git diff --name-only master..HEAD | while read file_path; do echo $file_path && git rev-list --reverse master..HEAD -- $file_path | while read sha; do echo $(git rev-list --count master..$sha) ': ' $(git show --pretty=oneline -s --abbrev-commit $sha); done && echo; done
}
You can’t perform that action at this time.