Skip to content

Instantly share code, notes, and snippets.

@bradurani
Created October 5, 2021 03:53
Show Gist options
  • Save bradurani/e459940ab97bfebb80ab35b28b5ff27d to your computer and use it in GitHub Desktop.
Save bradurani/e459940ab97bfebb80ab35b28b5ff27d to your computer and use it in GitHub Desktop.
Rubocop changed filed
git diff --name-only --diff-filter=AM origin/master | \
xargs bundle exec rubocop --display-cop-names --extra-details --parallel --force-exclusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment