Skip to content

Instantly share code, notes, and snippets.

@rakibulislam
Last active June 21, 2017 16:57
Show Gist options
  • Save rakibulislam/46700b3825cfaca8dd2d5fd5227b8279 to your computer and use it in GitHub Desktop.
Save rakibulislam/46700b3825cfaca8dd2d5fd5227b8279 to your computer and use it in GitHub Desktop.
  • Run Rubocop for only the files that have changed on the current branch:
alias cop='rubocop `git diff --name-only master..HEAD`'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment