galloleonardo
galloleonardo

Reputation: 154

Generate Slack notification for certain files using GIT

Is there any way to send notifications in Slack when there are commits on certain files? I am migrating a system but the system being migrated is still evolving. I would like to receive a message from the files I have already migrated that were changed in the previous project, so I can keep my code always up to date.

The stack is Git + GitLab, but I'd like to use Git's own hooks.

Can anyone help me with this?

Upvotes: 1

Views: 485

Answers (1)

madhead
madhead

Reputation: 33491

You could probably adapt this post-receive server hook as a local post-commit hook with a little modifications.

Upvotes: 1

Related Questions