Git counts the code submission records of the last day and does not paginate the summary of all code changes at one time

Git counts the code submission records of the last day and does not paginate the summary of all code changes at one time


git command:

echo "Statistics" && git --no-pager log --author="zhangphil" --since=1.days --pretty=tformat: --numstat | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "Add lines: %s Delete lines: %s Change total lines: %s\n",add,subs,loc }' && echo "The details are as follows:" && git - -no-pager log --word-diff --author="zhangphil" --since=1.days -p --stat

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325388924&siteId=291194637