Is there a Bazaar equivalent to `git commit --amend`?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 09:30:07

问题


I'm playing around with Launchpad projects using Bazaar and getting along fairly well. However, coming from a Git background I'm really missing the ability to roll changes into the last commit---this happens frequently when I discover a small, stupid typo that really doesn't deserve its own commit or entry in a debian/changelog file.

Does Bazaar provide a command that serves the same purpose as git commit --amend?


回答1:


bzr uncommit + bzr commit but it does not populate your editor with old commit message. If you can use bzr-gtk or QBzr then use bzr uncommit + bzr gcommit (or bzr qcommit). The GUI commit dialogs are able to populate commit editor with old commit message.



来源:https://stackoverflow.com/questions/9730755/is-there-a-bazaar-equivalent-to-git-commit-amend

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