I have a feature branch called feature/shopsync
that merged from develop branch today, then I do some commit in the feature/shopsync
. Now I found the develop branch contains some unstable code, then I need to revert the merge. I have tried like this:
git log
git revert -m 1 <merge develop commit hash>
it seems did not revert the develop branch, when I using git status
, nothing changed. Am I missing something?
this is the commit log look like:
commit 9a102a944b8ba96720af8f9ce8e6aa3d85335240
Merge: b9db6e235761a0e0
Author:Jiangxiaogiang <[email protected]>
Mon Jun 17 11:02:29 2024 +0800Date:
Merge branch 'develop'of 192.168.116.91:learn/core-service into feature/shopsync
BTW, I am on the branch feature/shopsync
right now.