Created
March 20, 2017 13:20
-
-
Save commuterjoy/e2e0b491f280362ec06e6a0e369dd583 to your computer and use it in GitHub Desktop.
Rollback git commits and generate code stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log | egrep "^commit" | cut -d ' ' -f 2 | xargs -I % echo "git reset --hard % && cloc ." | /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment