Say I created a feature-x branch and merged or rebased with master branch. Now in future is it possible to remove all the changes I added through feature-x branch through git?
This is is a common feature where we add some updates for a limited amount of time and remove it then. Can some one help if it is possible with git.
Thanks in advance.
I will get more clearer with an example. Suppose I added a poll script in feature-x branch and rebased it with master branch which I use as production branch. I may use the poll script only for say 1 month. In between I made several commits, rebased new branches with master branch. Now after 1 month, I want to remove that poll script completely from the master branch but keeping all the new changes(new commits) in the master branch.