1 Turn off all SVN services
Nie-xiao-bo-mac-pro:svnproject mac$ killall-9 Svnserve
2. Open a file path SVN service
Nie-xiao-bo-mac-pro:svnproject mac$ svnserve-d-r/users/mac/desktop/shiosproject/svnmangerfiles
3. Switch to the file
Nie-xiao-bo-mac-pro:svnproject mac$ Cd/users/mac/desktop/shiosproject/svnmangerfiles
4. Create SVN configuration file
Nie-xiao-bo-mac-pro:svnmangerfiles mac$ svnadmin Create Svnproject
5. Enter the configuration file
Nie-xiao-bo-mac-pro:svnmangerfiles mac$ CD svnproject/
Nie-xiao-bo-mac-pro:svnproject mac$ ls
README.txt db hooks
Conf format locks
Nie-xiao-bo-mac-pro:svnproject mac$ CD conf/
nie-xiao-bo-mac-pro:conf mac$ ls
Authz passwd svnserve.conf
6. Modify the configuration file
nie-xiao-bo-mac-pro:conf mac$ Vim svnserve.conf
nie-xiao-bo-mac-pro:conf mac$ Vim passwd
[Modify configuration File Method]
(1) Configure the svnserve.conf file, remove the temporary note with a #:
(2) Add user name and password in passwd
To create a local SVN service:
Two. Import the project into SVN
1. If you want to import our project into SVN, you need to use a tool svnx,svnx to connect to the SVN server, followed by the SVN management file, the user name and password is the user name and password added in the configuration file
2. After the login is successful, import our iOS project.
Iii. Check out project in Xcode (Beta version of Xcode6.1 when used below)
1. Check out a existing Project in Welcome Xcode, as shown in:
2. Connect to the SVN server (the SVN managed file is still behind the IP):
3. Check Out Project
4. Open the project locally and manage the project in source control
SVN service Configuration