So, I have a commit branch that I want to return. So I type git revert <commit-hash>
But when it starts, it says:
$ git revert 165702b305 On branch develop nothing to commit, working directory clean
This commit was tracked because the culprit of the error and identifier wanted to return it, but for some reason it does not work. Can it be spoiled? Other answers and searches could not help.
git git-commit undo
Peter Foti
source share