如何在Windows GUI中做rebase - 交互 [英] How to do rebase --interactive in a Windows GUI

查看:262
本文介绍了如何在Windows GUI中做rebase - 交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个与Windows的git GUI界面结合的同事,我想让他互动地重新装订,以便压缩提交。



我试过使用工具 - >添加添加 git rebase --interactive 但这只是在他尝试时挂起。客户可以处理交互式重置吗?是否有Windows的另一个GUI客户端可以?或者也许有另一种方式来压缩客户端提交?

解决方案

没有办法通过gui来完成。也就是说,如果没有交互式rebase,有办法压缩提交。例如,可以重置--soft 3提交之前,将所有内容添加到索引并提交。这将有效压缩最后3次提交。

I have a co-worker who's wedded to the git GUI interface for Windows; I'd like to get him rebasing interactively so he can squash commits.

I've tried using the Tools->Add to add git rebase --interactive but this just hangs when he tries it. Can the client handle interactive rebases? Is there another GUI client for Windows that can? Or perhaps there is another way to squash commits in the client?

解决方案

There is no way to do it through the gui. That said, there are ways to squash commits without the interactive rebase. For instance, one could do a reset --soft 3 commits ago, add everything to the index and commit. This would effectively squash the last 3 commits.

这篇关于如何在Windows GUI中做rebase - 交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆