[Development] Needing another advise using git

Konstantin Tokarev annulen at yandex.ru
Wed Oct 4 19:38:35 CEST 2017



04.10.2017, 20:29, "Daniel Savi" <daniel.savi at gaess.ch>:
> Thank you all for the helpful comments on my previous message.
>
> I think that I have now managed to amend my changes into one commit and
> may understand how to react on comments.
>
> While amending my commits I must somehow have pushed another commit
> again that is not from me at all. It is this one:
> https://codereview.qt-project.org/#/c/207639/
>
> I certainly did not intend to push this one. How should I proceed to
> delete this commit from my changes?

Run `git rebase -i HEAD~2`, then remove line with unwanted commit, and close
file with saving (:wq if your EDITOR is vim), then push again

>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Regards,
Konstantin



More information about the Development mailing list