GNOME Bugzilla – Bug 647682
squash commits
Last modified: 2018-05-22 13:05:14 UTC
It would be nice to have some way to squash commits together in gitg. Specifically, I'd like to be able to select a range of commits and right click and choose Squash. A dialog would appear where I could edit the commit message for the squashed commit (the default for this could be the message of the last of the commits being squashed). There's a separate feature request for a GUI for rebase interactive (579593) which would theoretically include this capability. But it might be more straightforward to simply take some of the things which rebase interactive can do - such as squashing - and integrate them into the gitg GUI directly as suggestd here.
Yes, this feature has been in the planning for some time. We are currently reworking the implementation of executing actions in git and the way the interactions work. After this, I will have a look at implementing basic squashing of consecutive commits.
As bug report was filed against an older version of gitg (C-version), moving bug to gitg-0.x but keeping it open as plans for implementing advanced operations of git in gitg are in the pipes.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gitg/issues/12.