I was working simultaneously on a Feature branch and Master branch.
Few days ago I merged my Feature into Master. A few commits have been made on top of that too.
But later I realised that the feature is no more desired. So I need to remove the commits which have been incorporated due to the Feature branch.
On checking, I realised that I have 3 options Rebase, Revert and Cherry-pick.
I might need the commits of the Feature branch in future. Therefore, it's commits need to be visible in commit history/ git log etc, if I need them in the future. Hence, I am confused which option of the above three to pick.
Note: All the commits are pushed to master. So would that have any implications on the option I pick?