I have multiple commits to a Git repository. Now I want to revert back to a previous commit to see the older data. How can I do that?
This depends a lot on what you mean by "revert". If you want to temporarily go back to it, then you can use the git reset command as shown below.
$ git checkout ID
When I revert this commit:
git reset --hard ...READ MORE
The closest way to view branches in ...READ MORE
This happens when no editor is set. ...READ MORE
This is simple, just follow the below ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
A popular solution is to simply add ...READ MORE
You can use the git remote command ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.