A simple example. I commit a change to Gerrit, which breaks the CI build or a reviewer is not satisfied. I then fix my change with another commit. In many cases this is small patch set for which I do not want a new gerrit review but rather as a new patch set in the original review.
I know this can be achived using ammend or rebasing and squashin.
Is this the only options? We are a little bit concerned about having to rewrite history using rebasing and squashing.
Thanks,
Giao.
git commit --amend
works pretty well; that how we do it most of the time.
This has been discussed on the gerrit mailing list: http://groups.google.com/group/repo-discuss/browse_thread/thread/fc4246f02b77aa9a
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