Quantcast
Viewing latest article 6
Browse Latest Browse All 80

Answer by Mauro Bilotti for How do I delete a commit from a branch?

In my case, my magic code for this pupose is this one:

git reset --hard @{u}

Test it and tell me. I have tried a few different ones, but this one was the only that helped me.


Viewing latest article 6
Browse Latest Browse All 80

Trending Articles