In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What are the specific commands of Linux svn management tools? for this question, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
In this article, we will introduce several commands that are not often used in Linux svn with examples.
List of files and directories under the version library
Svn list path displays all files and directories that belong to the version library in the path directory abbreviated: svn ls
Create a new directory under version control
Svn mkdir: create a new directory under version control.
Usage: 1. Mkdir PATH. 2. Mkdir URL...
Create a version-controlled directory.
1. Each directory specified with the working copy PATH will be created on the local side and added
Schedule for the next submission.
2. Each directory specified in URL is created by immediately submitting it to the repository.
In both cases, all intermediate directories must exist in advance.
Restore local modifications
Svn revert: restore the original working copy file (restore most of the local modifications).
Revert: usage: revert PATH.
Note: this subcommand will not access the network and will resolve the conflict condition. But it won't recover.
Deleted directory
Code base URL change
Svn switch (sw): update the working copy to a different URL.
Usage: 1. Switch URL [PATH] 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
Files on the server are merged with local files. This corresponds to a working copy to a branch or tag in the same warehouse
Method.
2. Rewrite the URL metadata of the working copy to reflect the changes on the simple URL. When the root URL of the warehouse changes
(such as a change in the scheme name or host name), but the working copy is still used when mapping to the same directory in the same warehouse
This command updates the correspondence between the working copy and the warehouse.
Resolve the conflict
Svn resolved: removes the "conflict" state of the directory or file of the working copy. Usage: resolved PATH... Note: this subcommand does not resolve conflicts or remove conflict tags by syntax; it simply removes files related to conflicts and then allows PATH to submit them again.
Outputs the contents of the specified file or URL
Svn cat target [@ version]... If a version is specified, the search starts with the specified version. Svn cat-r PREV filename > filename (PREV is the previous version, you can also write a specific version number, so that the output can be submitted) the answers to specific questions about Linux svn management tool commands are shared here. I hope the above content can be of some help to everyone. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
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.