V
V
vlad_lutsky2017-09-02 15:27:27
git
vlad_lutsky, 2017-09-02 15:27:27

How to go back in github history?

I screwed up and clicked revert this commit - the changes that I committed were rolled back. How to return to background.
600065fcfaf74c4ba2b2c973a4180b2d.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vlad_lutsky, 2017-09-02
@vlad_lutsky

Issue resolved. CTRL + `
git reset --hard HEAD~2 where "2" is the number of commits to revert to.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question