Created
June 1, 2015 11:05
-
-
Save adilsoncarvalho/a431adaa93aeff4aef6c to your computer and use it in GitHub Desktop.
Run rubocop just for the modified files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff --diff-filter=AM --name-only origin/master |grep '\.rb' |xargs --no-run-if-empty bundle exec rubocop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment