linux operating in svn relevant, easy to understand

svn up update the data every time you have svn up svn before use, or they might overwrite other people's files

svn st View file status? On behalf of the newly added files, but not within control svn version need to use svn add path to add the file to the svn, after the addition is complete, the file status changes A

? It is not under version control range

A has been added to the svn control, pending submission

M svn on the existing file has been modified, pending submission

! In the above svn already deleted files changed, but not yet submitted

C file conflict, when there is a conflict, if not their own modified files, or files to be submitted, the general choice tc, that is, other people can file version, if the revised document to be submitted and they have a conflict, you can use svn resolved to remove the conflicting

K indicates that the file is locked

svn revert path to recover files that have been modified

svn ci -m "to submit the relevant content" path

svn log to view the commit log svn log -l 10 View 10 log recently submitted

svn co path to download the project code from svn server

svn delete path delete files on the svn svn ci -m "submitted by deleted files"

svn info test.txt view file details

There are some advanced operations:

svn -r 200 test.txt test.txt file will be restored to the 200 version

svn diff -rm: n path difference between m and n version comparison

svn merge -rm: n test.txt version of m and n to the current version of the merged file

svn mkdir path Add Folder mkdir work svn add work in the warehouse version -m "Add Folder"

svn switch (sw): Update the working copy to a different url

Guess you like

Origin www.cnblogs.com/lyt-666/p/11601176.html