In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to use TortoiseSVN". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
This article shares the usage of TortoiseSVN for your reference. The details are as follows.
Add Fil
Add a Readme.txt text file to the checked-out working copy, and the text file will appear in a state without version control, as shown in the figure:
At this point, you need to tell TortoiseSVN what you are doing, as shown in the figure:
After joining, your file will change to this state, as shown in the figure:
Use TortoiseSVN to submit at this time. So that others can see the changes you have made, as shown in the picture.
Modify a file
Use TortoiseSVN to update, modify the Readme.txt file in the working copy, add "hello world!", and then save, you will find that the icon of the Readme.txt file has changed, as shown in the figure:
The red exclamation mark indicates that the file has been modified. At this point, submit the changes and others can see your changes.
Rename a file
Using the TortoiseSVN update, rename the Readme.txt file in the working copy to "Readme1.txt'," and then save, you will notice that the icon of the Readme.txt file has changed, as shown in the figure:
To add files, you need to tell TortoiseSVN your operation, as shown in the figure:
After joining and submitting, the Readme.txt file in the version library will be renamed "Readme1.txt".
Delete a file
Use TortoiseSVN update, use TortoiseSVN to delete the Readme.txt file in the working copy, then submit, and the corresponding file in the version library will be deleted, as shown in the figure:
Force to write comments
In order to see more clearly the reasons for each change you make in the future, you should write comments each time you submit and try to be as detailed as possible. As shown in the figure:
However, some people may not fill in comments because they find it too cumbersome, which is not conducive to future version control. You can force comments to be written at the time of submission. Right-click first and select TortoiseSVN- > attribute, as shown in the figure:
In the pop-up dialog box, click New-> Log size, set the minimum number of characters to submit the log and lock the log to 20, and set the character position of the border displayed in the submission text box to 100. Click OK, as shown in the figure:
Submit, when submitting again later, if the comment entered is less than 20 characters, it will not be submitted.
Conflict resolution
The conflict problem is the most common problem, which is caused by user A check out a working copy A, and then user B check out a working copy B. Then user A makes changes to file C in copy A (which can be content modification, file deletion, rename, and location move) and submits. At this time, the B user has also made changes to the same part of the file C. at this time, if the B user submits, he will be told that the version is out of date and ask for an update, and then a conflict will be prompted when the update is updated. at this time, you can use the conflict editor to select manually.
This is the end of the content of "how to use TortoiseSVN". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.