Use SVN under Mac

Source: Internet
Author: User
Tags svn svn client svn update

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.