Use of SVN under Mac

Source: Internet
Author: User
Tags svn svn update

1. Import code from local to server (first initialize import) Enter SVN Import/users/apple/documents/eclipse_workspace/weibo svn://localhost/mycode/in the terminal Weibo--USERNAME=MJ--password=123-m "Initialize import" I explain the meaning of the instruction: will all the contents of the/users/apple/documents/eclipse_workspace/weibo, Upload to the Weibo directory of the server Mycode warehouse, followed by the "Initialize import" in double quotes is note 2. Download the code from the server side to the client local input svn checkout Svn://localhost/mycode--USERNAME=MJ in the terminal --password=123/users/apple/documents/code I explain what the instructions mean: Download the contents of the Mycode repository from the server to the/users/apple/documents/code directory 3. Commit the changed code to the server in step 2 has already downloaded the server-side code to the/users/apple/documents/code directory, now modify some of the code inside, and then submit these modifications to the server 1> open the terminal, first locate to/users/ Apple/documents/code directory, enter:cd/users/apple/documents/code2> input commit command: SVN commit-m "modified main.m file" This command will/users/apple/ All changes under Documents/code are synchronized to the server side, if I only modified the main. File to see the print information for the terminal: [Java] sending weibo/weibo/main.m transmitting file data  .   Committed Revision 2. 4. Update the server-side code to the client this should be the simplest instruction, in the terminal to locate the client code directory, such as the above/users/apple/documents/code directory, and then enter the command: SVN update

Using 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.