jdhao's digital space

Recent content on jdhao's digital space

马上订阅 jdhao's digital space RSS 更新: https://jdhao.github.io/index.xml

How to Squash Last N Commits in Git?

2022年1月9日 11:47

We often need to squash several related commits to make the commit history cleaner. There are several different ways to achieve this.