How do I submit a specified file or folder directly to the SVN specified directory?

Source: Internet
Author: User

How do I submit a specified file or folder directly to the SVN specified directory?

Generally, we follow the following steps:

1. Checkout the directory down first
2. Place the file or folder you want to add in this directory
3. Right-click on the file to execute the Add command in the SVN menu
4. Right-click on the file to execute the commit command in the SVN menu

The above steps 3 and 4 can be combined in one step, that is, right-click the entire SVN folder and select the Commit command, the dialog box will show which files need to be added, check box and then OK.

If you simply submit a file to SVN in a directory with the above method will not be very cumbersome, if you can copy and paste like a shared folder is good, in fact, there are methods.

If you want to place a folder AA together with the files inside the SVN directory, follow these steps:

1. Right-click on the folder to execute the SVN menu import command
2. In the popup dialog box, select which directory you want to put in SVN.
3. Make sure you can

If you are submitting just a file (assuming C:/test.txt) you will find that you cannot find the import in the right-click SVN menu, which may be a small bug in svn, but don't worry, there are some ways:

1. Open the cmd window
2. Enter Tortoiseproc.exe/command:import/path: "C:/test.txt" and enter
3. This will pop up the same dialog box as above
4. Select the directory to be stored, note that when the point is OK will prompt the error, but also need to add a file name after the directory, and the file name must be SVN does not exist, such as/test.txt, written/xxx.txt also line
5. Make sure you can

Using this method to manipulate the folder is also possible.

For some of the operations of SVN, if there is any complicated need, it is recommended to read its Help document, its help document is written as good as the software, the above requirement is to find the answer from its help document.

SVN Help Documentation:

http://download.csdn.net/source/3236565


2011-5-23

Later found that there is a very simple way, SVN has a file to browse the dialog box, in the relevant place right-click to add the selection of files, very simple, next time to cut a graph up.

Article from: http://blog.csdn.net/sysdzw/article/details/6372571

How do I submit a specified file or folder directly to the SVN specified directory?

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.