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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:34:38+00:00 2026-06-18T08:34:38+00:00

After creating a Git Repository using the terminal application using the following commands Focusing

  • 0

After creating a Git Repository using the terminal application using the following commands

Focusing the shell on the project directory

$ cd ~/Desktop/Myproject

Setting up the Git Repository

$ git init

Preparing the files for the "staging area"

$ git add .

Making my first commit

$ git commit -m 'Initial Checkin'

When I now try to commit in Xcode, I get

The operation could not be performed because no valid working copies were found.

Please verify that your files are under source control and try again.

But if I modify any of the project files and $ git status in to shell, it will tell me that what ever file I fiddled around with in Xcode has been modified and the I can commit from there. Why not in Xcode??

I had a loot at Can't commit changes to local git repository but the suggestions did not solve the problem.

  • 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-06-18T08:34:38+00:00Added an answer on June 18, 2026 at 8:34 am

    If restarting XCode doesn’t help, since you are saying it works fine through terminal, try adding it again in XCode.

    go to Organzier–> Repositories –> Add Repository (bottom left corner)–>Set the correct values and local path to your project

    my guess is, since you created the repository outside XCode, for some reason, its not detecting it right, or is not having the right permissions. Re-adding the repository through XCode may help solve this issue for you.

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

Sidebar

Related Questions

After creating a Web Application project in VS2010, adding a routing route and run
After creating a metaclass using Moose::Meta::Class->create , how do I instantiate a real Moose
After creating the table with pm.createTable() and adding data to it using pm.addDataToTable() ,
After creating a player by using method this code: player = Manager.createPlayer(getClass().getInputStream(/sound.wav), audio/x-wav) Is
I'm just learning Git and there is something I can't work out. After creating
After creating a Azure Project within my silverlight app and adding the existing service
I had creating git repository Test on git and installed git on my windows
I followed the first steps after creating a repository in github, but when I
Lion, Xcode 4.3.3, and vex code 4.5 dp4 After creating a new local git
After creating a model and adding it to a repository I want to have

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.