简体   繁体   English

如何使用eclipse压缩提交?

[英]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! 我总是使用命令提示符来压缩多个提交,我想知道如何使用eclipse做到这一点!

I have looked for this answer , and i have not found something useful yet. 我已经找到了这个答案,但我还没有找到有用的东西。

You cant do it today. 你今天不能这样做。

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

Bug 316521 - Need ability to "squash" commits 错误316521 - 需要“压缩”提交的能力


Workaround: 解决方法:

  • Open History tab select all commits you want to squash. 打开History选项卡选择要压缩的所有提交。
  • Then right-click the selected commits and from the context menu select Modify | Squash 然后右键单击所选的提交,并从上下文菜单中选择“ Modify | Squash Modify | Squash . Modify | Squash

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM