Govur University Logo
--> --> --> -->
...

You accidentally performed `git reset --hard HEAD~3`, losing commits that were not pushed. How would you use `git reflog` to find and restore your branch to its state *beforethis `reset`?



When you execute `git reset --hard HEAD~3`, you are instructing Git to move the current branch pointer and your HEAD three commits backward in the history. This command also aggressively discards any changes in you....

Log in to view the answer



Redundant Elements