Common commands for SVN version management
Enterprise
2023-08-25 19:13:24
views: null
SVN common commands
- Checkout the file locally:
svn checkout PATH
- Add new files to the repository:
svn add FILE
- Submit the changed files to the repository:
svn commit -m "logmessage" [-N] [--no-unlock] PATH
- Lock/Unlock:
svn lock -m "logmessage" [--force] PATH
- Update to a certain version:
svn update -r m PATH
- View the status of a file or directory:
svn status PATH
- Delete Files:
svn delete PATH -m "logmessage"
- View logs:
svn log PATH
- View file details:
svn info PATH
- Compare the differences:
svn diff PATH
- Merge the differences between the two versions into the current file:
svn merge -r m:n PATH
- svn help:
svn help
- List of files and directories under the repository:
svn list PATH
- Create a new directory under version control:
svn mkdir
- Revert local changes:
svn revert
- Code repository URL changes:
svn switch
- To resolve conflicts:
svn resolved
Origin blog.csdn.net/qq_41323475/article/details/127893877