1. First check out the project, the xxx download to the local xxx, using the user name is not username
QIBAOYUAN@QIBAOYUAN:~/QIBAOYUAN$SVN Checkout HTTPS://xxx.googlecode.com/svn/trunk/xxx--username username
2. Create a new folder:
Qibaoyuan@qibaoyuan:~/qibaoyuan$mkdir Source
3. Add (add) local data to server
QIBAOYUAN@QIBAOYUAN:~/QIBAOYUAN$SVN Add Source
4. Submit to the code server,-m for comment
qibaoyuan@qibaoyuan:~/qibaoyuan$ svn ci-m "Init Building Thesaurus folder"
===================================================================
The version of Subversion for Windows is obtained from http://subversion.tigris.org, and after installation there is a Svn.exe client tool based on the command line. Of course the server side of the program also has, here is not concerned about how to configure the SVN service. The installer has added the PATH environment variable to the Svn.exe, and we can now use the SVN directly from the command line.
If you don't know how to use the SVN command, you can query the following ways:
SVN help
Know the subcommand, but do not know the use of subcommand, you can also query:
SVN help CI
Common Commands for Developers
Import Project
SVN import http://svn.chinasvn.com:82/pthread--message "Start project"
Export items
SVN checkout Http://svn.chinasvn.com:82/pthread
Export a "clean" project by exporting
SVN export Http://svn.chinasvn.com:82/pthread pthread
To clear a failed transaction
SVN cleanup
Make code modifications locally to check for modification status
SVN status-v
SVN diff
Updating (update) server data to Local
SVN update Directory
SVN update file
Increase (add) Local data to the server
SVN add file.c
svn add dir
Renaming and Deleting a file
SVN mv B.C BB.C
SVN rm D.C
Submit (commit) local document to server
SVN commit
SVN ci
SVN ci-m "Commit"
View Log
SVN log Directory
SVN log file
Some things related to:
1, in the local file, each directory has an. SVN folder (property is hidden), save the relevant information.
2, the registration environment variable Svn_editor as "E:/program Files/vim/vim71/gvim.exe", the result in the SVN ci, there are errors:
' E:/program ' is not an internal or external command, nor is it a running program
or batch files.
SVN: Submit failed (details below):
Svn:system (' E:/program files/vim/vim71/gvim.exe svn-commit.tmp ') returns 1
Change the Svn_editor to "Gvim.exe", and add the path "E:/program files/vim/vim71/" to the paths so that you can write notes with Vim when you submit.