I tried to follow your advise, but it seems that I can finish it, I am not sure why.The error message says the folder you added to the project isn't under version control so Xcode can't perform the commit. You can verify this in Xcode's project navigator. The files in the folder should have a - icon next to them.
The fix is to add the new folder to the repository. Open the Organizer and click the Repositories button at the top of the Organizer. You will see a list of repositories on the left side of the Organizer. Find your repository in the list. There should be several folders under the repository. If you don't see them, click the disclosure triangle next to the repository. Select the Trunk folder. Click the Import button at the bottom of the Organizer to add the folder to the repository.
Before I upgraded to Xcode4, that was good to control my source, now I got confuse!Command line is your friend..
one has a - icon, and some have A letter, they all show the same error message if I import them.What happened when you imported the folder? Are there any icons next to the folder and its files in the project navigator? If the files in the folder have a - icon, there could be a problem with the import.
I am not so familiar with command lineCan you commit the files from the command line? If you can, you know the problem's with Xcode and not your repository.
I can commit other files they added Subversion when I use Xcode3.Can you commit other files in your project from Xcode?
How can I use git for a exists project, can you show me the simplest way? Can I transfer exists Subversion revision to Git?If you want to use Xcode's version control features, consider switching to git. Git can convert existing Subversion repositories to git repositories.
Does the folder have an icon next to it in the project navigator? If it has a ? icon next to it, it's not part of the repository.one has a - icon, and some have A letter, they all show the same error message if I import them.
Can you commit other files in this project from Xcode 4? If so, you know the newly added folder is the problem.I can commit other files they added Subversion when I use Xcode3.
The easiest way would be to run the git svn clone command from the command line. This command clones an existing Subversion repository into a git repository. A Google search for git-svn turns up many tutorials on running the git svn clone command.How can I use git for a exists project, can you show me the simplest way? Can I transfer exists Subversion revision to Git?
I will try it tonight.The easiest way would be to run the git svn clone command from the command line. This command clones an existing Subversion repository into a git repository. A Google search for git-svn turns up many tutorials on running the git svn clone command.
I am in folder /Users/mikezang/Documents/Projects/MyProject1/trunk/Run the git svn clone command from the folder where you want the git repository to reside. Your project folder would be fine. Supply the URL of the Subversion repository to the git svn clone command. There's an example in Section 8-1 of the Pro Git book you said you're reading.