forked from bats-core/bats-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Git Codebook
B. van Berkum edited this page Feb 19, 2019
·
1 revision
Show contributions for current file version (e.g. author-email and ISO datetime of commit):
git blame "$1" | cut -d' ' -f 1 | sort -u | while read sha1
do
git show -s --format="%aE %cI" $sha1
done
Show all unique contributors for file:
git log --reverse -1 --format='%aE' [--follow] <File> | sort -u
Show original commiter for page/file:
git log -n1 --follow --format='%aE' <File>
This community-maintained documentation for Bats is about core/master
,
see sidebar interwiki or the about page for more info.