Skip to content

Instantly share code, notes, and snippets.

@tqn
Last active December 20, 2015 22:02
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 tqn/139f0805fd6518577181 to your computer and use it in GitHub Desktop.
Save tqn/139f0805fd6518577181 to your computer and use it in GitHub Desktop.
Gets insertions and deletions from the initial commit.
#!/bin/bash
git diff --shortstat $(git rev-list HEAD | tail -n 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment