Somewhen in my git history a change was implemented that broke feature A.
I don't know what is the commit and I'm not able to (easily) track the code to identify what caused the problem, because it's a very complex logic.
What I would like to do is.:
Go back to a old git commit (git checkout a9a9a9a) exec a command (script.rb) press enter git checkout next-commit
Once I'm back to the old commit i can't checkout to the next commit, I need to do git checkout master
, git log
, checkout the next sha, and git checkout nextsha1
.
Is there any script or tool to easily do this?