Skip to content

Instantly share code, notes, and snippets.

@guilherme
Last active Nov 24, 2015
Embed
What would you like to do?
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

douglasresende commented Nov 24, 2015

👍

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