Simple question and I don't really have code to show sorry.
In git is it possible or whats the best way to revert a commit after I have more commit after the commit I would like to revert.
If I have commits 1,2,3,4 and 5 and I want to revert commit 3 is there a way to revert commit 3
.
I know how to revert a commit with git revert 98b8ad2df210a6f05a2f
but if I do this I'm getting conflicts.
I want to revert commit 3 but still have the commits 4 and 5.
Do you need to revert 4,5 and then 3 and then add back 4 and 5