sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
1.34k stars 134 forks source link

enhanced: squash for multiple commit #492

Closed xuthus5 closed 1 month ago

xuthus5 commented 1 month ago

In the current version, only the squash into parent option is provided. Can support right-click and choose the squash into one option when multiple commit records are selected? This will help the developer who submits the final PR. thx.

love-linger commented 1 month ago

I think you should be referring to this:

image

In the image above, Squash Child Commits to Here means squash all commits that after selected commit into the selected one

xuthus5 commented 1 month ago

Thank you, I just started using it, which is a little different from the action of sublime merge and IDEA, and I didn't immediately find this option, I'll try it.