SVN operation:
1, pull the file to the local directory
SVN Checkout Directory Example: SVN checkout Svn://192.168.0.0/test
2, add a new file
SVN Add File Example: SVN add test.cpp
3, submit the modified document
SVN commit-m "Submit Text" file Example: SVN commit-m "commit file A.txt" A.txt
4, view the log
SVN log file Example: SVN log test.cpp
5, view the detailed structure of the document, including the path, the last modification of the last modification time, etc.
SVN info File Example: SVN info gamecomm
6, compare the differences between files
SVN diff file Example: SVN diff test.cpp
7, update the file to a version
SVN update-r m path: svn update-r test.cpp updates test.cpp to version 200, using SVN update directly if you want to update all files in the current directory.
8. Revert to a file
svn revert file Example: Recert a.txt
9. Conflict resolution
SVN resolved file Example: Resolved A.txt
10, SVN help
SVN help
That's the basic command.
Recently found a useful thing in vim:
Find a string in Vim: Command line mode enter/***, find * * *
Replaces a string in vim with the current line: command-line Mode input: S/str1/str2/g replaces all str1 in the current row with str2
Replaces one string of all rows in vim: command-line Mode input:%s/str/str2/g replaces each row of str1 with str2