Created
November 9, 2020 06:25
-
-
Save gonaumov/1b3594adf99db2b6006c52bb19182ce8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 --name-status HEAD~1..HEAD | egrep '^(A|M)\s+' | awk 'BEGIN {modified=0;added=0; printf "Git changes statistick\n";} {if($1 == "M") modified++; else if($1== "A") added++} END { printf "Modified " modified; printf " Added " added }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment