Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in DevOps and Agile by (19.4k points)

Is it possible to undo the changes caused by the following command? If so, how?

git reset --hard HEAD~1

1 Answer

+1 vote
by (27.5k points)

This is very simple, run the following command: 

$ git reset --hard [email protected]{1}

Browse Categories

...