ios-using the command line to manage SVN

Source: Internet
Author: User

Some SVN tools are easy to manage and intuitive, but more efficient than command line.

(Because of bad memory, often forget some knowledge, such as the command line for a few days to be unfamiliar, in order to prevent forgetting to find information memories. Back up the SVN command for later use)

View all SVN logs

SVN log

(log too much, want to stop, CTRL + Z)

View SVN information

SVN info

View file changes under the current SVN associated directory

SVN St

Submit Code

SVN ci yourfile.m yourfile2.m-m "submitted two M files"

Compare changes to code on a file with SVN

SVN diff YOURFILE.M

(This command only shows a different code snippet, and if you want to compare two files or engineering differences, use the Xcode tool Filemerge to

Filemerge open mode, right click on the Xcode icon on the dock, select Open Developer Tool--->filemerge)

Delete SVN server code a file

SVN del file1.m

And then you have to submit the SVN ci-m "commit Delete"

Add a new file

SVN add file1.m

Also to submit, ibid.

(to commit or delete files with @ In some names, you need to add a @ at the end, such as [email protected] requires the following command svn add [email protected]@)

Original address: http://www.shangxueba.com/jingyan/1844720.html

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.