среда, 18 января 2017 г.

Question:

I want to discard all changes done after commit <commit-hash> . So I did:
git reset --hard <commit-hash>
Now I want to do the same with my remote. How can I do this? I have done some commits (and pushes) after <commit-hash> and I just want to discard them all. Is just something went terribly wrong in the way and I don't want to make it worse than it is already. ;(
I basically want to rewind my origin/master to <commit-hash>

Answer:

Комментариев нет:

Отправить комментарий