![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
不会汪汪的猫咪
可以称得上是做互联网金融的开发工程师,会点Java,会点Python
展开
-
git合并多个commit成为一个commit
git合并多个commit成为一个commit 在git使用中,可能会在合并代码的时候有大量的commit,如何能在合并分支的时候将许多commit转化为1个commit呢,可以使用以下命令: git merge –squash 分支/commitId e.g: git merge –squash 1234567897984541 ...原创 2018-08-27 12:11:10 · 1582 阅读 · 0 评论 -
git中统计代码提交数
git中统计代码提交数 通过git log来取 git log --pretty=’%aN’ | sort | uniq -c | sort -k1 -n -r | head -n 5原创 2019-01-14 11:20:47 · 748 阅读 · 0 评论