[英]How to remove a branch merged with develop in bitbucket git?
This is a question on Bitbucket/git. 这是关于Bitbucket / git的问题。 Let's say you have created a feature branch from develop branch. 假设您已经从develop分支创建了一个feature分支。 Let me call the branch feature/newBranchA
. 让我称它为branch feature/newBranchA
。
I did git pull request, and merged it to develop branch. 我做了git pull请求,并将其合并以开发分支。
However, now I want to get rid of the commits from the newBranchA
, aka I want develop to remove the commit. 但是,现在我想摆脱newBranchA
的提交,也就是想删除该提交。
I realize we can do a git reset hard. 我意识到我们可以辛苦地进行git reset。 However, is it possible to do such from Bitbucket from the GUI interface? 但是,是否可以从GUI界面的Bitbucket中执行此操作? Is it possible to do similar from TortoiseGit? 是否可以从TortoiseGit做类似的事情?
If you want to remove commits coming from a merged branch, there is a brilliant answer here: Undo a Git merge that hasn't been pushed yet 如果要删除来自合并分支的提交,这里有一个绝妙的答案: 撤消尚未推送的Git合并
It is not possible to undo a merge in Bitbucket's interface, and as far as I know Tortoise does not support that either. 在Bitbucket的界面中无法撤消合并,据我所知,Tortoise也不支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.