#1837 [RFE] autosquash & merge
Opened 2 years ago by ignatenkobrain. Modified 2 years ago

I typically use (and others) git commit --fixup=... which creates new commit. Then you can do git rebase -i --autosquash origin/master and it will automatically squash all such commits.

Since it's best way to not force-push into pull-requests, would be nice to implement this feature.

P.S. more examples at https://fle.github.io/git-tip-keep-your-branch-clean-with-fixup-and-autosquash.html


The required feature is like a github's "Squash and Merge"? [1]
I want the feature too for pagure.

[1] https://github.com/blog/2141-squash-your-commits

Login to comment on this ticket.

Metadata