On 7 Paź, 20:49, Denis Laxalde <dlaxa...@gmail.com> wrote:
> I'm using the post-receive hook to send notification upon pushes on a
> central repository. I'd like to set the sender address (in the 'From'
> header) according to the respective "author" of the push, is is
I think answer is here:
so, you can use:
* export USER_EMAIL=$(git log -1 --format=format:%ae HEAD)
in your post-receive hook
> Thanks in advance,
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at