Listen for github webhooks and send an e-mail when anyone runs git push --force master.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

Counterforce

E-mails when someone force pushes to master.

Setup

  1. cp lib/settings.js.example lib/settings.js and fill in the appropriate values.

  2. npm install then npm start

  3. Add post-receive hooks to the repositories you want to monitor. See here for instructions.

Disclaimers

E-mail is not guaranteed delivery. Github webhooks are not guaranteed delivery. My node-fu is weak.

I welcome suggestions for a better name.