N
N
Nikolai2020-04-02 12:45:58
git
Nikolai, 2020-04-02 12:45:58

How to execute a git hook on a remote repo?

There is a task, after I do a git push from the local machine to github.com, a notification should fall from github to the telegram chat.
I was planning to do a git hook on the remote. But I ran into the fact that I can’t upload hooks to a remote github, they don’t push from the local one, the hooks folder is not visible in the github web interface (if it exists there at all).

What am I doing wrong?

I'm working with git hooks for the first time...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2020-04-02
@Zarom

Remote git hooks don't work on github.
Use one of the apps for github https://github.com/marketplace?query=telegram

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question