M
M
Maxim Korolsky2016-09-01 22:04:24
JavaScript
Maxim Korolsky, 2016-09-01 22:04:24

How to undo one commit?

A commit (merge) was made, which caused errors. After it there were a lot of commits from other people, PR and so on.
Is there any way to undo that one commit?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail, 2016-07-01
@mrzgt

children - looks directly at children. in your case you should use find()

S
Sergei Nazarenko, 2016-09-01
@nazares

git log
git revert хеш-значение нужного коммита

git reflog 
git reset --hard [email protected]{number}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question