Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 247 Bytes

File metadata and controls

9 lines (6 loc) · 247 Bytes

Quickly squash your changes on the last commit

Instead of creating a commit and then squash, just stage your changes an then:

git commit --amend --no-edit

This will amend your last commit with staged stuff, maintaining the comment.