Command Line: Use SVN that comes with MAC

Source: Internet
Author: User
Tags macbook
Recently I just bought a MacBook, and I had a hard time playing around. So I asked my friend if there was any installation package for SVN on Mac. As a result, my friend said that the Mac had its own SVN (really advanced, not only had it come with SVN, even PHP and Apache are built-in. It seems that Apple provides a lot of convenience for developers). However, the built-in SVN is not as graphic as it is on windows, and requires command line operations.

Recently I just bought a MacBook, and I had a hard time playing around. So I asked my friend if there was any installation package for SVN on Mac. As a result, my friend said that the Mac had its own SVN (really advanced, not only had it come with SVN, even PHP and Apache are built-in. It seems that Apple provides a lot of convenience for developers). However, the built-in SVN is not as graphic as it is on windows, and requires command line operations.

Recently I just bought a MacBook, and I had a hard time playing around. So I asked my friend if there was any installation package for SVN on Mac. As a result, my friend said that the Mac had its own SVN (really advanced, not only had it come with SVN, even PHP and Apache are built-in, and apple seems to provide a lot of convenience for developers). However, the built-in SVN is not as graphic as it is on windows, and requires command line operations, after learning on the fly, I checked the materials and recorded several common operations:

Svn checkout? Path? Short for flile? Svn co path? Flile? ? The directory is retrieved. Many documents are not as detailed as they are written. Only svn checkout is written, but several important parameters are not written. path indicates the server directory, and file indicates the local storage directory.

Svn add file to add files. file refers to your local directory.

Svn commit? -M "comment "? Path: svn ci file submission. path indicates that the server directory must be added before submission. Is there a method for batch operations on the Internet? :svn add `svn st |grep ? |awk '{print $2}'

Svn upadate-r m path is updated to version m. If the parameters after r start are not written, update the latest version to the directory.

Basically, this is enough for me. If you have any unknown operations, we can enter svn help to list many operation commands.

Topics you may like

Original article address: the command line uses the SVN that comes with MAC. Thanks for sharing it with the original author.

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.