Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Last active August 29, 2015 14:25
Show Gist options
  • Save singingwolfboy/753677b75c0fa70ce39e to your computer and use it in GitHub Desktop.
Save singingwolfboy/753677b75c0fa70ce39e to your computer and use it in GitHub Desktop.
Lines/files changed from Birch to Cypress RC
git diff --numstat named-release/birch...named-release/cypress.rc | grep -Ev "(/vendor/)|(conf/locale)|(static/fonts)|(test/data/uploads)|^-" | wc -l
git diff --numstat named-release/birch...named-release/cypress.rc | grep -Ev "(/vendor/)|(conf/locale)|(static/fonts)|(test/data/uploads)|^-" | cut -f1 | paste -sd+ - | bc
git diff --numstat named-release/birch...named-release/cypress.rc | grep -Ev "(/vendor/)|(conf/locale)|(static/fonts)|(test/data/uploads)|^-" | cut -f2 | paste -sd+ - | bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment