Skip to content

Instantly share code, notes, and snippets.

@dgreda
Created December 5, 2020 17:56
Show Gist options
  • Save dgreda/71c3e9185a15441eda60c0a3742fc126 to your computer and use it in GitHub Desktop.
Save dgreda/71c3e9185a15441eda60c0a3742fc126 to your computer and use it in GitHub Desktop.
Aliases
# run Rubocop only on modified Ruby files which haven’t been committed to git
alias rubogit='git ls-files -m | grep '\.rb$' | xargs bundle exec rubocop'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment