Skip to content

Instantly share code, notes, and snippets.

@guilherme
Last active November 24, 2015 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilherme/433ec7afc3a1e7d50594 to your computer and use it in GitHub Desktop.
Save guilherme/433ec7afc3a1e7d50594 to your computer and use it in GitHub Desktop.
run the specs of differences between master and current branch
#!/bin/bash
git log --name-only master..HEAD | grep 'spec/' | grep -v 'factories' | grep -v 'spec_helper' | paste -s -d " " - | xargs spring rspec
@douglasresende
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment