Skip to content

Instantly share code, notes, and snippets.

@noyobo
Created July 23, 2016 13:43
Show Gist options
  • Save noyobo/1e909badbcb8821e1a277c07c65acafe to your computer and use it in GitHub Desktop.
Save noyobo/1e909badbcb8821e1a277c07c65acafe to your computer and use it in GitHub Desktop.
check current git branch has diff
git diff --shortstat 2> /dev/null | tail -n1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment