Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Is it possible to squash commit by rebasing?(rebase)
Is it possible to squash commit by rebasing? [message #963887] Tue, 30 October 2012 05:08 Go to next message
Lee Wang-soo is currently offline Lee Wang-sooFriend
Messages: 1
Registered: October 2012
Junior Member
I want to squash commits selectively in EGit.
But I couldn't find the ways.
Is it possible to squash commits by rebasing in EGit?

FYI, Squash commit in command line tool:
git rebase -i HEAD~3
Re: Is it possible to squash commit by rebasing? [message #967632 is a reply to message #963887] Thu, 01 November 2012 22:39 Go to previous message
Robin Rosenberg is currently offline Robin RosenbergFriend
Messages: 332
Registered: July 2009
Senior Member
Lee Wang-soo skrev 2012-10-30 12.51:
> I want to squash commits selectively in EGit. But I couldn't find the ways. Is it possible to squash commits by rebasing in EGit?
>
> FYI, Squash commit in command line tool:
> git rebase -i HEAD~3

To squash the topmost n commits, you can use a soft reset + commit. Other variants are
not available yet, though patches are in the works (gerrit).

-- robin
Previous Topic:JGit working in Android; Lcom/jcraft/jsch/Channel errors?
Next Topic:Does Egit support shallow clone yet?
Goto Forum:
  


Current Time: Fri Nov 28 08:54:30 GMT 2014

Powered by FUDForum. Page generated in 0.01483 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software