Svn for Mac and svn for Mac

Source: Internet
Author: User
Tags svn client svn update

Svn for Mac and svn for Mac

As a person who has been using the windows system, I really don't know how to use svn on mac. I need it now by chance.

After checking, I found that the mac comes with svn. After I installed xcode, I installed Command Line Tools again.

1. Open terminal Input

Xcode-select -- install

Click Install to complete the installation in a few minutes.

2. Run this command to check the version number. if the version number is correct, the installation is complete.

Svn -- version

3. The code downloaded from the server to the client is still input by the terminal.

Svn checkout svn: // 192.168.1.1/dev/project -- username = svnUserName -- password = svnPasword/Users/huangenai/test
Svn: // 192.168.1.1/dev/project is the server code address.
Username: svn User Name
Password: svn User password
Download to the path on your computer/Users/huangenai/test

4. Update the server code to the client. First, run cd test to enter the file directory where 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 commands such as log, add, and so on. Here we will not discuss them one by one.

If the command is troublesome, you can download a svn client.

 

This article is my work record. If you have any questions, please comment below. repost the article to indicate the source.

If you have any help, please give me a thumbs up at the bottom right of the mouse. Your support is my greatest motivation.

Related Article

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.