Last active
September 17, 2015 16:59
-
-
Save gbpereira/00dab90d26179acaf00f to your computer and use it in GitHub Desktop.
Command to run rubocop on branch 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 origin/dev --name-only --diff-filter=ACMRTUXB | xargs rubocop | |
ou | |
git diff my_branch..upstream/dev --name-only --diff-filter=ACMRTUXB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment