As a person who has been using the Windows system, I really don't know how SVN can be used on Mac, and it's just a chance.
After I found out that Mac comes with SVN, after I've installed Xcode, install Command line Tools
1. Open Terminal input
xcode-Select -Install
Click Install and it will be OK in a few minutes.
2. Enter this command to view the version number, and the version number is installed.
SVN--Version
3. Download the code from the server to the client, still the terminal input
SVN checkout svn://--username=--password=svnpasword /users/huangenai/test
Svn://192.168.1.1/dev/project is the server's code address.
User name for USERNAME:SVN
User password for PASSWORD:SVN
Download to your computer on this path/users/huangenai/test
4. Update the server-side code to the client, first CD test into the file directory you want to update the code and then execute the command.
SVN update
5.SVN Help
SVN help
We can see a lot of SVN command log AH add ah wait wait, here is not introduced.
Feel the command trouble, actually can go to download an SVN client just fine.
This essay is my study work record, if there is doubt welcome in the following comments, reproduced please indicate the source.
If you have help, please move the mouse to the bottom right to a praise, your support is my biggest motivation.
Use SVN under Mac