撤消设计者在 bitbucket 上推送的更改

发布于 2024-12-22 20:24:56 字数 245 浏览 0 评论 0原文

我还在习惯 bitbucket 和 TortoiseHg。 我两天前将更改推送到了 bitbucket。然后设计师撤回了这些更改,他做了一些更改,并在今天做出了承诺并推动。我不确定发生了什么,但他的改变搞乱了很多事情。我还没有在我的机器上拉取他的更改。

有没有办法从 bitbket 中删除他的变更集,就好像它从未被推送过一样。

或者在这种情况下最好的方法是什么。

这可能很简单。我仍在浏览网络和文档,但希望有人可以提供帮助。

I am still getting used to bitbucket and TortoiseHg.
I pushed my changes two days ago to bitbucket. Then the designer pulled those changes and he had some changes and commited and pushed today. I am not sure what happened but his changes has messed up lot many things. I have not pulled his changes yet on my machine.

Is there a way to remove his changeset from bitbuket as if it was never pushed.

Or what is the best way to go about in this case.

This might be very simple. I am still looking around the web and docs but hope someone can here can help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寂寞清仓 2024-12-29 20:24:56

您可以使用hg backout来撤消他推送的错误变更集。请参阅有关 查找和修复错误的 Mercurial 书籍。

You can use hg backout to undo the bad changeset he pushed. See the Mercurial book on Finding and fixing mistakes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文