In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "summary of common commands in svn". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "summary of common commands in svn".
1. Checkout the file to the local directory svn checkout path (path is the directory on the server)
Abbreviation: svn co
2. Add a new file svn add file to the version library
Svn add * .php (add all php files in the current directory)
3. Submit the changed files to the version library svn commit-m "LogMessage" [- N] [--no-unlock] PATH (use the-- no-unlock switch if you choose to keep the lock)
Abbreviation: svn ci
4. Lock / unlock svn lock-m "LockMessage" [--force] PATH
Svn unlock PATH
5. Update to a version svn update-r m pathsvn update if there is no directory behind it, all files in the current directory and subdirectories will be updated to the latest version by default. Svn update test.php (updates, synchronized with the version library. If you are prompted to expire at the time of submission, it is due to conflict, you need to update first, modify the file, then clear svn resolved, and then submit commit) [?: not under the control of svn; M: the content is modified; C: conflict occurs; A: scheduled to be added to the version library; K: locked] the first column remains the same, the second column shows the working version number, and the third and fourth columns show the last modified version number and modifier. Abbreviation: svn st7, delete the file svn delete path-m "delete test fle" or directly svn delete test.php and then svn ci-m 'delete test file', recommend this
For example, svn log test.php displays all changes to this file and the changes in its version number
9. View the file details svn info path10, compare the differences svn diff path (compare the modified file with the base version) svn diff-r MGV n path (compare the differences between version m and version n)
Abbreviation: svn di
11. Merge the differences between the two versions into the current file svn merge-r MVR n path
Svn help ci
Display all the files and directories in the path directory that belong to the version library: 1. Mkdir PATH... Usage: revert PATH... Deleted directory 16, code base URL change svn switch (sw): update the working copy to a different URL. 2. Switch-- relocate FROM TO [PATH...] 1. Update your working copy and map it to a new URL, which behaves like "svn update" and will also change the method. (such as a change in the scheme name or host name), but the working copy is still mapped to the same directory in the same warehouse: resolved PATH... Related documents, and then let PATH can submit again. Output the contents of the specified file or URL. Svn cat target [@ version]. If a version is specified, the search starts with the specified version.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.