Problem
When developing on GitHub, you may want to compile multiple commits into one commit.
At that time, you probably will do the following procedure:
- git rebase -i <commit hash>
- update from
pick
tosquash
- update the commit message
- quit the editor
It is troublesome to take a lot of such interactive procedures.
Solution
I and @kamontia released QS as CLI tool.
QS helps to do these with just one command.
from: https://speakerdeck.com/chaspy/look-back-on-our-oss-activities
- Repository: kamontia/qs
- Language: Golang
How to install
Choose go get
or brew
, your preferred way. You can also download the prebuilt binary from the release page and place it in the directory where PATH passes.
To learn more, please see the README in the repository.
Summary
QS is very powerful and simple tool to squash your commit quickly
Please use it, and I'm glad if you give us improvement requests or impressions.
Thank you!
Top comments (0)