Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340967 - Add GUI for interactive rebase
Summary: Add GUI for interactive rebase
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement with 11 votes (vote)
Target Milestone: 3.2   Edit
Assignee: Tobias Pfeifer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 396510
Blocks: 356939
  Show dependency tree
 
Reported: 2011-03-25 10:57 EDT by Oyvind Harboe CLA
Modified: 2014-09-04 06:59 EDT (History)
19 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oyvind Harboe CLA 2011-03-25 10:57:19 EDT
Build Identifier: M20100909-0800

A key feature of git that is hard for new users to work with is interactive rebasing.

Developing a topic branch and rewriting that branch until it's ready is an absolutely key working pattern and reason to use git in the first place.

Reproducible: Always
Comment 1 Tomasz Zarna CLA 2012-07-05 10:41:05 EDT
Not sure when but it looks that it has been already implemented. See http://wiki.eclipse.org/EGit/User_Guide#Rebase_Conflicts. If you meant something different or the current shape is not enough feel free to reopen the bug. However, you will have to present an explanation of why this doesn't work for you.
Comment 2 Tibor Pusztai CLA 2012-07-05 11:28:17 EDT
Tomasz, the interactive rebase is not a rebase with interactive result. 
Interactive rebase is a complex mode of the rebase command where a todo list (rebase plan) first generated based on the parameters, which can be modified by a text editor then accordingly executed step-by-step. In the todo list you have options to pause the rebase, change a comment, squash or fixup commits etc...

See these as further explanation:
http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html#_interactive_mode
http://blog.mozilla.org/webdev/2011/11/21/git-using-topic-branches-and-interactive-rebasing-effectively/
Comment 3 Tomasz Zarna CLA 2012-07-06 04:33:25 EDT
Reopening, see the previous comment.
Comment 4 Johan Compagner CLA 2013-01-19 05:04:19 EST
currently the only way to squash commits into 1 seems to be to do a soft reset and then commit the workspace as 1 commit.
That works quite well but only if all the commits until the starting point of th soft reset should be in. You can't skip or reorder a commit if you do want commits 1,2,4,5 but not 3
Comment 5 Robin Stocker CLA 2013-09-27 11:18:40 EDT
*** Bug 316521 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Sohn CLA 2013-12-11 18:23:14 EST
I think we can now declare we reached this, kudos to Tobias Pfeifer