T
T
Tempest992019-12-17 20:29:18
git
Tempest99, 2019-12-17 20:29:18

How in Git to return to the desired commit and continue working from it?

I committed the last changes in my work and pushed to github, but then my code editor started giving an error about an unclosed bracket } and it seemed to me that it was just a glitch and I wrote git reset --hard HEAD~1 and rolled back. I'm wondering how can I select commits from the save history and start working from one of them? Prompt command

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2019-12-18
@Casufi

https://stackoverflow.com/questions/2816715/branch...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question