How to use git revert to undo a previous commit - 084

added by DotNetKicks
3/27/2017 12:40:33 PM

2 Kicks, 246 Views

"undo", "reset", "revert" - ah English! Perhaps the author of The Giver used Git in the past, since one of their rules was "use precision of language." What do we mean by "undo a previous commit?" Let's say we had 3 commits A, B, and C. And we realize 'B' was a mistake.