Skip to contentSkip to conversation

How to email out commit message automatically?

DISCUSSION Weiwei Shu 2 participants 4 messages Jun 15, 2016

lore
Share & tools
lore

Weiwei Shu

author
#0 lore raw

Hi All,

The second time to post here. Git is great.

I would like to email the commit message to my Gmail box automatically whenever I submit a commit. Can anybody point me a link on how to do that? I've searched it for half day but not successful. Thanks!

Weiwei

author
#2 lore raw

Matthieu,

Thank you very much!! I'll give it a shot and hope it will work in Windows.

Weiwei

Quoted 16 lines · Matthieu Moy
Quoted 7 lines · Weiwei Shu

Hi All,

The second time to post here.  Git is great.

I would like to email the commit message to my Gmail box automatically whenever I submit a commit.  Can anybody point me a link on how to do that?  I've searched it for half day but not successful.  Thanks!

http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/hooks/post-receive-email

--
Matthieu Moy
http://www-verimag.imag.fr/~moy/

Signature · 2 lines
Weiwei
--Hope Springs Eternal.
author
#3 lore raw
In reply to Matthieu Moy

Matthieu,

I've tried it, but not successful. Where should I setup email server information? Thanks!

Weiwei

Quoted 16 lines · Matthieu Moy
Quoted 7 lines · Weiwei Shu

Hi All,

The second time to post here.  Git is great.

I would like to email the commit message to my Gmail box automatically whenever I submit a commit.  Can anybody point me a link on how to do that?  I've searched it for half day but not successful.  Thanks!

http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/hooks/post-receive-email

--
Matthieu Moy
http://www-verimag.imag.fr/~moy/

Signature · 2 lines
Weiwei
--Hope Springs Eternal.