if you're looking to integrate git notifications in slack,you can do it with a simple script that listens for repo events and posts messages accordingly on -notices channel ⚡
create this bash snippet:
#!/bin/bash -egit=$1event_type=$(echo "$2" | cut --delimiter=':' --fields=3)if [ $event_type = 'push' ]; thenbranch''name=$( echo "${GIT''COMMIT_RANGE#*.}" )slack''api''url="curl -H "Content-type: application/json" \--data '{"text":"'"$branch''name"' updated by '"$(git config user. name)"'"}' $ slack''api_urlfimake it executable and add a git post-receive hook to your repo with these commands:
chmod +x /path/to/your/script. shecho "/usr/bin/bash -e \"/full/path/to/hook\" \$1">. git/hooks/post-commit && chmod u+x.rm./hooks
adjust the slack url and branch name in script as needed. this will post a message whenever someone pushes changes to your repo