Using the SVN client (Linux)

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

SVN Server Environment Reference: https://www.cnblogs.com/pzk7788/p/9446424.html
Here I use a cloud server (139.xxx.xxx.89) as the SVN service side, using a VMware virtual machine (192.168.5.143) as the SVN client

If you use the SVN client:

[[email protected] ~]# Yum install-y subversion    # Installing SVN~]# cd/data/                    # advanced to the directory where SVN code is stored /c4>[[email protected] data]# svn checkout svn://139.xxx.xxx.89/myproject--username=user1     # Check out the code, that is, the SVN server to download the things down [[email protected] data]# ls                        # Check See has been downloaded myproject 

How to submit your code:

[[Email protected] data]# CD myproject/                         # Enter project directory  1.txt                      # Create a test file  1.txt                    # Add File to version control   "add 1.txt" 1 # Commit file,-m indicates description information, after submission, other SVN client needs to perform SVN update update to see the submitted code

How to delete code:

1 . txt                      # First delete locally  " Delete 1.txt " 1. txt    # and then commit to the SVN server to really delete

How to view the change log:

[[email protected] myproject]# SVN log # View change log (from bottom to top) ------------------------------------------------------------------------R2| User1 |2018- ,-Ten  -: ,: ++0800(Fri,TenThe2018) |1Linedelete1. txt------------------------------------------------------------------------R1| User1 |2018- ,-Ten  -: on: to+0800(Fri,TenThe2018) |1Lineadd1. txt------------------------------------------------------------------------

Using the SVN client (Linux)

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.