Git, how do I send slack messages after I git pull?

I now have slack API and channel key
I have been able to send messages to my designated channel on php
, but what I want to implement now is
when I send the bitbucket file git pull to my specified file in the server
can I send a slack message to the channel?.?
are there any related practices?


you can do this by setting git hook


that's what it says on the website. Let me tell you something.

There are many

git operators. You need to execute action after git pull , so you only need to write the code of sending messages in the corresponding code post-merge .

for more information, please see https://www.git-scm.com/book/.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd8696-3087d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd8696-3087d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?