Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to squash commits using eclipse?

I always use command prompt to squash multiple commits, and i was wondering how i can do it using eclipse!

I have looked for this answer , and i have not found something useful yet.

like image 342
Sara.s Avatar asked Oct 18 '22 11:10

Sara.s


1 Answers

You cant do it today.

There is an open ticket for that:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316521

Bug 316521 - Need ability to "squash" commits


Workaround:

  • Open History tab select all commits you want to squash.
  • Then right-click the selected commits and from the context menu select Modify | Squash.
like image 69
CodeWizard Avatar answered Nov 01 '22 16:11

CodeWizard