I don't believe that there is a post-push hook that executes locally after 
you have successfully pushed to a remote.  There is a pre-push hook to 
allow a push to be aborted (locally) before anything is sent. There are a 
number of (remote) server side hooks that can provide automation, but those 
do not sound like your use case.

If this is for a GSOC project it is worth discussing on the main 
g...@vger.kernel.org list. There is a searchable archive of that list at 
https://lore.kernel.org/git/ to see what discussions have happened in the 
past, and the core developers with an interest in the hooks and your use 
case.

On Monday, March 22, 2021 at 8:32:40 AM UTC rkt5...@gmail.com wrote:

>
> Hey !!!
> Hope You are all good in this COVID-Pandemic
> I have a query..So, for explaining my query I am telling my used case
> *Used case-:*
> I want that as soon as I do push my code to any CVCS(Centralized Version 
> Control System) service provider  like github , I want to do something . It 
> may be send mail to someone  , sending notification on slack or may be 
> anything..But, when I made the use of post-commit hook on my local 
> workstation it did not work..Then ,I searched on githook documentation 
> whether this hook exists or not and found that it doesn't..
> So, I want to say that if it exist then please correct me and if does not 
> then can I take this idea as  my GSoc'21 project ???
> Waiting For reply.....:)
> Thanks.....!!!
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/9c8d86e3-1ac7-400a-b23f-4639d391328an%40googlegroups.com.

Reply via email to