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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:49:43+00:00 2026-05-27T09:49:43+00:00

I am using a local repository (which doesn’t work at all like the local

  • 0

I am using a local repository (which doesn’t work at all like the local repository seemed to work in the Xcode demo I watched on Lynda.com). The only way I can get it to work is to create another copy of my project directory and then point to that as a working directory within Organizer. Ok… that’s fine, though it wasn’t supposed to work like that according to the demo which I followed step-by-step.

Now my current issue is that when I wanted to check something on my production branch while I was working on another that had some uncommitted changes, I switched branches and it merged all the files!!! Seriously… wtf. So now my production project is completely screwed and it won’t let me switch back to the other branch either until I fix the merge conflict.

So my question is: is this regular git behaviour, or is my repository system screwy? If it is indeed regular behaviour, you’d think there’d be at least a warning dialogue telling you that you have uncommitted changes and that it’s going to merge your branches.

  • 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-27T09:49:43+00:00Added an answer on May 27, 2026 at 9:49 am

    Git generally doesn’t let you switch branches with uncommited changes. You either have to commit them or stash them before moving branches.

    Look up git-stash to see how that works.

    I’ve never used git through Xcode, so I have a feeling it’s doing something strange behind the scenes because it is not normal for this to happen. It will complain about a dirty work tree and tell you to stash before switching branches.

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

Sidebar

Related Questions

Using (local) in the connection string doesn't work on my cluster. I'm assuming it's
I'm trying to convert a local SVN repository to git using git-svn under cygwin
In my Gradle script (version 0.8), I have a local ivy repository which I
I have a remote tracking branch tracked locally in my local repository using 'git
At work we are using topic branches which are integrated into a few (3)
My problem is with using github and Egit. Egit fetched all of my repository
We are having a local repository which is accessible to a large number of
I know I can retrieve some settings.xml parameters using properties, like, for example ${settings.localRepository}
Using local variables seems advisable in a partial that could be used application-wide to
I'm using local shared objects within flash both to store significant amounts of user

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.