Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 1.05 KB

File metadata and controls

25 lines (15 loc) · 1.05 KB

git sleep

Build Status Gem Version Code Climate Test Coverage

(code climate score is higher than it should be, I think, because it's ignoring the non *.rb files)

installation:

gem install git-sleep

to be used in conjunction with gitsleep.com

usage:

git sleep authorize will walk you through authorizing with Jawbone

git sleep init (from within a git repo) will install two git hooks:

  • a git pre-commit hook that can prevent commits if you haven't slept enough
  • a git post-commit hook which will annotate your successful commits with sleep data