Run Rubocop for only the files that have changed on the current branch: alias cop='rubocop `git diff --name-only master..HEAD`'