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?