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 7556607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:54:04+00:00 2026-05-30T11:54:04+00:00

Originally, I had everything contained in my master branch. Then, I decided to split

  • 0

Originally, I had everything contained in my master branch.

Then, I decided to split into Mac and Windows branches, and have the master branch only track the source code files. So I began to only stage changes to source code files when in the master branch, and merge those source code changes with the Mac and Windows branches as needed.

Problem is, when I originally tracked everything in my master branch, I had tracked the project file as well. Thus, I would be adding new files to the project and getting it compiling in Mac and Windows, but upon switching back to the master branch, the project file would be switched back to the old version as well, causing compilation to fail.

So how can I stop tracking my project file in the master branch now? I don’t want to stop tracking it in my Mac or Windows branches, and I don’t want to remove it from earlier versions in the master branch either.

  • 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-30T11:54:06+00:00Added an answer on May 30, 2026 at 11:54 am
    git rm --cached projectFile
    

    Will delete the file in the index, so it will no longer be tracked, but won’t physically delete it.

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

Sidebar

Related Questions

Ok, So I have the following situation. I originally had some code like this:
I recently had a blog at www.andrewalaniz.com and I have moved it into a
All, I originally had my setup like this and everything worked as expected. WEB-INF
I originally had an array[1..1000] that was defined as a global variable. But now
A co-worker asked about some code like this that originally had templates in it.
Originally I had a design problem where I needed five subclasses of a superclass,
Originally I had two tables in my DB, [Property] and [Employee]. Each employee can
Ever since deleting the original settings.settings file I have had endless problems getting the
Originally there was the DAL object which my BO's called for info and then
I have recently gone into extending my site using node.js and have come to

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.