Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Is it possible to squash commit by rebasing?(rebase)
Is it possible to squash commit by rebasing? [message #963887] Tue, 30 October 2012 01:08 Go to next message
Eclipse UserFriend
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 18:39 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 01:35:15 EDT 2025

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

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

Back to the top