Skip to content

Instantly share code, notes, and snippets.

View jwoolston's full-sized avatar

Jared Woolston jwoolston

  • CA, United States
View GitHub Profile
@tbranyen
tbranyen / git_profanity_check.js
Last active October 8, 2021 23:02
git profanity check
#!/usr/bin/env node
// Copyright 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
// Last Updated: Oct 2021 - Supports NodeGit 0.27.0
// Dual licensed under the MIT and GPL licenses.
// Script to detect cursewords in commit messages and provide the
// offending commit sha's.
// vim: ft=javascript
const { Repository } = require('nodegit');