-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to squash commits #129
Comments
not totally sure what the UI would look like for this one... thoughts?
|
Drag one commit into another and then click "squash"? |
and then just have a popup for the commit message of the resulting squashed commit? ... that sounds good, but I'm also thinking about squashing a range of commits - that would be really useful for me |
Drag to select multiple successive commits (or ctrl+click, or shift+click), then right click the selection and hit squash. That kind of functionality might be better as part of an interactive rebase feature though... |
or just a general UI paradigm that could also be used for stuff like:
also, using the |
Drag one commit into another and then click "squash"? by @Ajedi32 is the best suggestion. Start simple and see where it goes from there. Other git clients when doing a squash merge will simply call git merge --squash branch-name. That then leaves the git repo in an uncommitted state. They will then simply switch to the build in commit view and let the developer take it from there. This would be a fantastic addition to ungit. |
Suggested by @slang800 in #92
The text was updated successfully, but these errors were encountered: