In simplified form, I have the following git commits history:
* aaaaaaa (origin/master, origin/HEAD, master, HEAD)
* bbbbbbb
* ccccccc
* Merge from ddddddd
|\
| * ddddddd
| * eeeeeee
| * fffffff
| |
* | ggggggg
* | hhhhhhh
* | iiiiiii
* | kkkkkkk
* | mmmmmmm
| | ooooooo
|/
* xxxxxxx
* zzzzzzz
I recently realized that there are bad commits in the master branch:
ddddddd
eeeeeee
ffffff
Is it possible undo changes in local repo made to the ddddddd
, eeeeeee
and fffffff
without changing other local and remote commits?