codingClaire / hello-world

C/C++编程初学者

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello-world

C/C++编程初学者

Git手册

Git统计方法

  • 统计代码量
git log --author="$(git config --get user.name)" --pretty=tformat: --numstat | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }' -
  • 统计提交次数
git shortlog -s

About

C/C++编程初学者


Languages

Language:C++ 88.2%Language:C 11.8%