Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7045485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:32:10+00:00 2026-05-28T02:32:10+00:00

Say I created a feature-x branch and merged or rebased with master branch. Now

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:32:11+00:00Added an answer on May 28, 2026 at 2:32 am
    man git-revert
    

    git revert will replay a commit in reverse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So say I have my master branch, and I create feature-x branch to work
Let's say I have a develop branch. I create a feature branch from this
Let's say I have created two objects from class foo and now want to
lets say i created a virtualenv called venv (virtualenv venv) From reading tutorials, i
Let's say I have created a program in C/C++ and have a source code.
Say I have two classes created work and workItem. CWorker *work = new CWorker();
Say I've got a domain model created from C# classes like this: public class
Say, if I created a waitable timer using CreateWaitableTimer API and then set it
say there is an xml file, which not created by me, with a known
Let's say there's a table created as follows: create table testTable ( colA int

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.