Skip to content

zhiyunjiang/hello-world

 
 

Repository files navigation

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

Code Reference

About

C/C++编程初学者

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.9%
  • C 21.1%