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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:00:16+00:00 2026-05-20T18:00:16+00:00

Hey, I’m now using Xcode 4 for a few weeks. It’s just great to

  • 0

Hey,
I’m now using Xcode 4 for a few weeks. It’s just great to come from Xcode 3 and see all the new features. I like the git integration. But I have the one and other problem with that.
The newest project I started with a local git repository. That all works fine and I did multiple commits. I want to get an older version of my project. So I try to use Pull. But as soon as I click that button, I get the following message:

The operation could not be performed because access to the repository "/Users/***/Desktop/TestClone" was denied.

Check your name and password and try again.

The problem is, I didn’t define anywhere a name and a password. How can I get a copy of a state in my project?
The checkout button is always grayed out so I can’t click that one.

Any help would be appreciated. 😀

  • 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-20T18:00:17+00:00Added an answer on May 20, 2026 at 6:00 pm

    You should not use the ‘pull…’ command for “going back to” (checking out) an older version of your code.

    The ‘pull’ and ‘push’ commands are used for synchronizing your local repository with an “origin” remote repository. This feature is normally used when you ‘clone’ an original remote repository in order to coordinate your changes with other programmers.

    If you created your project from scratch, you won’t have any remote repository to push to or pull from.

    Back to the original question, as far as I know, Xcode 4 won’t let you to checkout older commits within the user interface, unless you created a new branch for that commit. Nevertheless, you can do it from the command line. For that, use the following command from your project folder

    $ git log --format=oneline
    

    to get the hash code of the commit you want to go to, and then use:

    $ git checkout desired-hash-code
    

    to checkout that particular version. Once there, you can make tests, changes, and possibly create a new branch. If you do a commit without creating a new branch, you will lose the newer commits in your current branch. If you want to go back to the newest commit after having performed some tests on your older version use:

    $ git checkout master
    

    note again that this won’t work if you do a new commit from your old code version without creating a new branch, because newer commits in the current branch get dereferenced.

    If you are new to Git, I would read any of these documents:

    • http://sixrevisions.com/resources/git-tutorials-beginners/

    I would also like to highlight these two:

    • The Git Parable – http://tom.preston-werner.com/2009/05/19/the-git-parable.html
    • A Visual Git Reference – http://marklodato.github.com/visual-git-guide/index-en.html

    Cheers.

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

Sidebar

Related Questions

Hey, what's the most effective way to remove beginning and ending slashes from all
Hey all I want to reseed my IDENTITY COLUMN values starting from 1 I
hey i am having problems using the sizeof operator in malloc. For example see
Hey right now I'm using jQuery and I have some global variables to hold
Hey friends i have use 2 text view now when i fetch data from
Hey all I just finished: http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+Started#Rails3-GettingStarted-InstalltheRails3 But its not quite suited for ubuntu 10.04...
Hey all, I want to change a value in a table (in a mysql
Hey, I want to store application configuration data. Currently, I'm using INIs but they
Hey how can I clone the table named teamselectiontable with just the table rows
Hey I have a menu(with JQuery) in a div on the left, with all

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.