Skip to content

Instantly share code, notes, and snippets.

@benoittgt
Created October 7, 2016 14:05
Show Gist options
  • Save benoittgt/f8fadd3482eabef7d45752a22f7323a9 to your computer and use it in GitHub Desktop.
Save benoittgt/f8fadd3482eabef7d45752a22f7323a9 to your computer and use it in GitHub Desktop.
Run rspec test on file change against dev branch
git diff --name-only --diff-filter=AMR origin/develop | grep _spec.rb | xargs bin/rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment