Skip to content

Instantly share code, notes, and snippets.

View benjroy's full-sized avatar

Benjamin Allen benjroy

View GitHub Profile
@benjroy
benjroy / expectCleanGitRepo.js
Created February 24, 2020 22:42
expectCleanGitRepo
const { execSync } = require('child_process');
function gitStatus(options = {}) {
const {
path = process.cwd(),
// https://git-scm.com/docs/git-status#Documentation/git-status.txt---short
short = false,
// pathspecs to exclude: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
exclude = [],
} = options;

Keybase proof

I hereby claim:

  • I am benjroy on github.
  • I am benjroy (https://keybase.io/benjroy) on keybase.
  • I have a public key whose fingerprint is E436 9C18 25B6 77B4 90DC 5C6B 9D52 0EEE 8BAC A664

To claim this, I am signing this object:

tbody.pipelineGroup {
background-color: red;
}