0 votes
1 view
in Devops and Agile by (20k 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 (28.4k points)

This is very simple, run the following command: 

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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...