Questions tagged [post-receive-email]
8 questions
16
votes
4 answers
How to setup post-receive-email Git hook with Gitolite
I'm using post-receive-email hook from the Git distribution to send e-mails to certain users when Git repository is updated (hook invoked from post-receive).
All my repositories were managed manually. Now, I get so many repos and so many users and…

Alexander Gladysh
- 39,865
- 32
- 103
- 160
2
votes
1 answer
my post-receive, a git hook, with two commands doesn't work
I have three git repositories:
a bare repository on my git server
a local repository(A) on my laptop (I develop web pages on this machine.)
a local repository(B) on a hosting server (I use it as a http server.)
I set a post-receive, a server side…

Taiki Bessho
- 142
- 1
- 8
2
votes
2 answers
How to debug / correctly setup git-multimail
I would like to use git-multimail as post receive hook in one of my git repositories (no gitolite used). Unfortunately, I cannot get it work, and I have hardly any experience using Python.
What I did so far:
I added the following block to the…

Jan
- 1,040
- 14
- 29
2
votes
1 answer
Git push timeout when using post-receive-email hook
I'm using Git control version system through Eclipse (Egit plugin).
I've configured the post-receive-email hook to trigger an email every time I push to the remote repository. The hook is working as expected (I got a new email on every change), but…

Angelo
- 905
- 1
- 17
- 35
2
votes
3 answers
sending/ receiving email in Java
I want to send email through Java (Any email like from yahoo, gmail, or any other part).
I tried the code give here, however I get exception as
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception…
user1203613
1
vote
1 answer
Can the post-receive git hook be used to send email notification if a particular file changes
I am new to configuring git hooks and understand that post-receive can be used to send notifications after a successful push request. I would like to know how I could use it to send an email notification whenever a PR has a commit that changes a…

pHM
- 315
- 5
- 17
1
vote
2 answers
Why is read hanging my bash script?
I had a similar problem to this with Python using readlines() but I'm not sure if it's the same here.
The read command is hanging my bash script.
generate_email()
{
# --- Arguments
oldrev=$(git rev-parse $1)
newrev=$(git rev-parse $2)
…

Bo A
- 3,144
- 2
- 33
- 49
0
votes
0 answers
git email notification - multiple destinations that are unrelated
I have the Andy Parkins script setup to send post-receive email notifications. These are to fulfill a contract with a vendor, so the emails go out to the vendor. Now, I have an internal group who also want notifications. Since the configuration…

user561638
- 1,299
- 3
- 15
- 26