1. Submit code to
temporarily switch users: svn ci --username zhangsan --password zhagnsan123 -m "comment content"
Default user: svn ci -m "comment content"
2. Permanently switch users and
delete the directory ~/.subversion/auth/ All the files under the next operation svn will prompt you to enter the password and user name
3. Export the project to the local directory
svn co http:/192.168.0.1/php/project
4. Add a new file
svn add test to the local library .py
5. Submit the changed files to the svn library
svn ci -m "comment content" /test/test.py
6. Update the version
svn up
7. View different
svn diffs
8. View file or directory status
svn st path ( The status of the files and sub-files under the directory, the normal status is not displayed)
Description: [? Not under svn control, M: Content is modified; C: Conflict; A: Subscribe to the repository; K: Locked]
9. View file details
svn info
10. svn help
svn help
Analysis of common svn commands
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326225740&siteId=291194637
Recommended
Ranking