How to use the add command of svn in Linux

Source: Internet
Author: User
How to use the add command of svn in Linux this section will help you learn some of the content of the SVN sub-command add. after a long time learning the SVN sub-command, I will share some of my experiences with you here, after reading this article, you must have gained a lot. I hope this article will teach you more things. Name svnadd & mdash ;... how to use the add command of svn in Linux this section will help you learn some of the content of the SVN sub-command add. after a long time learning the SVN sub-command, I will share some of my experiences with you here, after reading this article, you must have gained a lot. I hope this article will teach you more things. Name svn add-add a file, directory, or symbolic chain. The SVN sub-command add PATH... describes the file, directory, or symbolic chain to your work copy and is scheduled to be added to the version Library. They will be submitted and uploaded to the version Library next time. if you change your mind before submission, you can use svn revert to cancel the reservation. Option -- targets FILENAME -- non-recursive (-N) -- quiet (-q) -- config-dir DIR -- no-ignore -- auto-props -- no-auto-props -- force example: Let's take an example to see the SVN sub-command add, add a file to the work Copy: $ svn add foo. c A foo. c. when a directory is added, the default behavior of svn add is recursive: $ svn add testdirA testdir/aA testdir/bA testdir/cA testdir/d you can add only one directory without including its content: $ svn add -- non-recursive otherdirA otherdir generally, the command svn add * ignores all directories under version control. sometimes, you will want to add all the unversionized files of the work copy, including those hidden in You can use the -- force command added by svn to recursion to the versionized Directory: $ svn add * -- forceA foo. cA somedir/bar. cA otherdir/docs/baz.doc. The usage of the SVN sub-command add is described.
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.