[Insight-developers] Error when push second changes to gerrit

wanlin wanlinzhu at gmail.com
Sun Nov 21 06:22:54 EST 2010


When making changes in uploaded changes, i input
git rebase -i HEAD~2

Two commits appear in the editor, i changed the second as edit

*pick 18193dd Remove bug in
NeighborhoodAlgorithm::ImageBoundaryFacesCalculator
e 6bfb20c Remove bug in NeighborhoodAlgorithm::ImageBoundaryFacesCalculator*

then ensure the second commit has the same change-ID with the first one. but
when i push them

git push gerrit HEAD:refs/for/master/NeighborhoodAlgorithm

It prompted the following error:

 ! [remote rejected] HEAD -> refs/for/master/NeighborhoodAlgorithm (squash
commits first)
error: failed to push some refs to 'wanlin at review.source.kitware.com:ITK'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101121/cd28ffb0/attachment.htm>


More information about the Insight-developers mailing list