Git /
ResetReset allows you to change the location of the HEAD on a given branch. This is most useful to go back to a previous commit and essentially discarding the changes that followed it. You can reset to any previous commit by using
where to You can also reset to commits using a "distance", where instead of providing Options
|