Successfully reported this slideshow.
Your SlideShare is downloading. ×

Overcommit for #pivorak

More Related Content

Related Books

Free with a 30 day trial from Scribd

See all

Overcommit for #pivorak

  1. 1. OVERCOMMIT https://github.com/brigade/overcommit
  2. 2. Yurii Habrusiev @yuriihabrusiev
  3. 3. gem install overcommit
  4. 4. mkdir new_project cd new_project git init overcommit --install
  5. 5. PreCommit: RuboCop: enabled: true command: ['bundle', 'exec', 'rubocop']
  6. 6. SKIP=RuboCop git commit ONLY=RuboCop git commit
  7. 7. ● CommitMsg ● PostCheckout ● PostCommit ● PostMerge ● PostRewrite ● PreCommit ● PrePush ● PreRebase
  8. 8. Thanks!

×