文章目录
- 本地流程
- 远程仓库流程
- git 代码量统计
本地流程
工作区
暂存区
本地仓库

远程仓库流程

git 代码量统计
# 统计本地仓库的代码量
git log --all --since=2022-01-01 --until=2022-01-05 --format="%aN" --no-merges | sort | uniq -c | while read data; do name=$(echo $data| awk '{print $2}'); num=$(echo $data| awk '{print $1}'); echo -en "$name\t"; echo -en "$num\t"; git log --all --since=2022-01-01 --until=2022-01-05 --author="$name" --pretty=tformat: --numstat | awk '{add += $1; subs += $2; loc += $1 -$2; } END {printf "%d\t%d\t%d", add, subs, loc}'; done>log.xlsx


![[转]深度学习 Transformer架构解析](https://img-blog.csdnimg.cn/img_convert/ca36d743d00a5e8479c5475ca412cb0a.png)















