Using GIT or SVN in Xcode 3/4 without a server

Well, maybe I'm trying to accomplish something not feasible.

I am one developer (not part of the team).

I am trying to get some kind of version control system. I used CVS with Xcode 3, but Xcode 4 no longer has this as an option. I have heard that SVN and Git are the best alternatives anyway.

Basically, I spent more than half a day trying to get Xcode to work with SVN / Git out of the box. I do not have a server, and I would prefer not to show my project on the server.

It makes no sense for me to have a separate user just to run the Git / SVN servers.

I'm just trying to have version control using one of them in the easiest way.

I tried adding Repo using the local file path (/ Volumes / AAA / BBB / Repo), where I manually created the "Repo" directory. I installed the Subversion type (and also tried Git). Xcode says: "The host is available." But there is no Commit function (disabled). I can not import the working directory.

I just don’t understand - do I have to work on the server to have SVN / Git, or does Xcode just do this via the command line? I prefer this to be done on the command line, as the server is completely overloaded. Or am I missing something? Maybe I'm making the wrong settings in Xcode?

This is not an Xcode 4 problem, I had the same problem with Xcode3, but at least it had the CVS option - now it is gone.

+3
source share
2 answers

Git , . SVN , , , Git git init . , push, pull fetch.

+3

Xcode :

Git Subversion Xcode SCM: Subversion ( svn) Git. Subversion , . Git , Git . Xcode 4 Git Subversion System Tools. , , Git, . , Xcode Git , (. " Git Project" ). Subversion Git . , Xcode Subversion, Git.

, , Git . , , Git .

, , MacMini SVN; . , SVN- Xcode 3 , Xcode 4, Xcode 4 SVN Xcode 3 SVN, Xcode 4 .

0

Source: https://habr.com/ru/post/1790240/


All Articles