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
?
The git commit --amend command is a convenient way to modify the most recent commit. It lets you combine staged changes with the previous commit instead of creating an entirely new commit. It can also be used to simply edit the previous commit message without changing its snapshot.
You can modify the most recent commit in the same branch by running git commit --amend. This command is convenient for adding new or updated files to the previous commit. It is also a simple way to edit or add comments to the previous commit. Use git commit --amend to modify the most recent commit.
Visual Studio Team Explorer In the Changes view of Team Explorer, stage one or more files, enter a commit message, and then choose Actions > Amend Previous Commit.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With