In git + gerrit, you get below message while trying to submit change for review. How to deal with this if you just want to submit only one commit for review not all ?
$ git review -n
You have more than one commit that you are about to submit.
The outstanding commits are:
0e6b2fe (HEAD, betabranch) second commit for second_file.txt
26e6ec2 first commit for first_file.txt
Is this really what you meant to do?
Type 'yes' to confirm: no
Aborting.
You need to move the commit you want to submit for review to another branch and submit it. See below article how to move a commit to another branch.
http://techmolecules.blogspot.sg/2013/08/git-cherry-pick-move-selected-commit-to.html
$ git review -n
You have more than one commit that you are about to submit.
The outstanding commits are:
0e6b2fe (HEAD, betabranch) second commit for second_file.txt
26e6ec2 first commit for first_file.txt
Is this really what you meant to do?
Type 'yes' to confirm: no
Aborting.
You need to move the commit you want to submit for review to another branch and submit it. See below article how to move a commit to another branch.
http://techmolecules.blogspot.sg/2013/08/git-cherry-pick-move-selected-commit-to.html
No comments:
Post a Comment