How do I delete/remove a push from Bitbucket?

房东的猫 提交于 2019-12-22 05:14:47

问题


I pushed on the wrong repo, and now the admin wants me to remove my last push. I can't just delete the repo.

How do I remove my push from the repo?


回答1:


In the admin settings of each repository, there's a menu item called Strip commits:



To delete your complete push, you need to strip the first (oldest) revision that you pushed.

Bitbucket will then remove this revision and all its descendants:




来源:https://stackoverflow.com/questions/22976506/how-do-i-delete-remove-a-push-from-bitbucket

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!