当前位置:网站首页>[yellow code] SVN version control tutorial
[yellow code] SVN version control tutorial
2022-06-10 13:22:00 【Huang AHMA】
Brief introduction to common commands :
1.check out After checking out the obtained file , The checked out file is still in SVN In version control , Keep associated with the version Library , For example, you can do Svn Update perhaps Svn Commit operation . At the same time, there is a... Under the export folder .svn Hidden folders for , Store some versions of metadata information .( For data imported into the server , It needs to be checked out to form a subject svn Controlled working copy , Only then can we carry on add update commit Wait for the operation )
2.export Simply export a version of data ( Export the data from the server , It's equivalent to making a copy of ), The exported file is detached SVN version control ( What you export is a file , And svn The version doesn't matter ), After export, you can't Update and Commit operation . There is no... In the export folder .svn Catalog
3.import Just import the file into svn Server , And this file itself is just an ordinary file , And svn The version library has nothing to do with ( When importing, you need svn The address of the server , It can be copied from the server , stay Repositories Right click the version Library under copy )
4.add Is to add the newly created file to the cache ( A plus sign is displayed after execution ), Need to be commit Submit to upload to the server ( Show check mark )
5.update Is to update the latest version on the server , For example, the version uploaded by others ( Generally, it needs to be updated before submission , Otherwise, the new version uploaded by others will be overwritten if you don't update it , What others uploaded is lost )
6.commit Commit changes
1.svn
svn client ->“ Restart after installation ”-> Sinicization package ->TortoiseSVN->setting->Langugage( Chinese simplified )
svn Server side :
a. requirement PC The hardware configuration of the machine should be higher
b. You need to install the client first , Install the server side
c.Server Ports:8443
repository: Warehouse
New warehouse :repository name:
repository url: Send it to other ordinary users
User: Set up multiple accounts : The first account is the user who owns the client and server
The rest only have clients
How to submit a project to the server :
1.TortoiseSVN-》 Import ( Operated by the person who owns the server )
-》 Version Library URL:https://192.168.123.10(PC Mechanical IP Address ):8443/svm/demo( Name yourself )/
-》 authentication : The user account of the server / password
-》 After the project has been submitted , How other users check out (svn Check out the )
2.SVN Check out the (checkout):
-》 Version Library URL: ditto
-》.svn Hidden files cannot be deleted
-》 Cooperative development , After changing one of the files , The file icon will become an exclamation point (!: Represents that the document has been modified )
-》 Submit after modification (svn Submit )( Equivalent to uploading / download )
-》 Every user needs to check out , Modified .
-》 The modified version number will be accumulated
-》 direct svn Update can
-》 The first thing to do every day is to do svn to update
question mark (?): Represents a newly added file ;
plus (+): Add to the specific directory , Indicates that the increase is successful , after , Conduct svn Submit ;
exclamation mark (!): Deletion is a kind of modification , After deleting , Conduct svn Submit , After the modification , Conduct svn to update ;
The question of conflict : After the modification , To submit an update ;
Outdated , Has been updated , Need to update first ;
Yellow exclamation mark , Indicates a conflict ; Right click Tortoise-》 Editing conflicts ;
-》 The yellow part indicates normal , The red question mark section indicates a conflict ;
-》 Conflict resolution : Manual negotiation , Which version to use ;
SVN journal :
Additions and deletions 、 Conflict resolution 、svn Show log
The company sees the progress and passes svn Check it out. , It has to be done svn Submit
svn It's the mainstream .git It's the trend .
边栏推荐
- How does the API detect security configuration errors?
- 2022 ciscn preliminary satool
- Simple integration of client go gin six list watch two (about the improvement of RS, pod and deployment)
- Shi Yigong and other teams posted on the cover of Science: AI and freeze electron microscope revealed the structure of "atomic level" NPC, a breakthrough in life science
- Start with interpreting the code automatically generated by BDC, and explain the trial version of the program components of sapgui
- Six stone programming: talking about naming based on the position of word processing
- QT database application 22 file coding format recognition
- Use unique to quickly remove duplicate elements
- [FAQ] summary of common problems and solutions during the use of rest API interface of sports health service
- 由文件图形丢失,说明自己都不用自己开发的OFFICE
猜你喜欢

NanoMQ Newsletter 2022-05|v0.8.0 发布,新增 WebHook 拓展接口和连接认证 API
![[mobile robot] principle of wheel odometer](/img/91/fbe7ad8e37a70384f043a785d34865.png)
[mobile robot] principle of wheel odometer

The deep neural network classifies nearly 2billion images per second, and the new brain like optical classifier chip is on nature
![buuctf [GlassFish]任意文件读取](/img/37/e3c127f2f2ba97c5ca0b6cf01cf9ab.png)
buuctf [GlassFish]任意文件读取

32. Simple test of raspberry pie serial port communication and ultrasonic module ranging

從解讀 BDC 自動生成的代碼談起,講解 SAPGUI 的程序組成部分

什么是基因的p值?

Leetcode 96. Différents arbres de recherche binaires

Ultra detailed ffmpeg installation and simple use tutorial

Cvpr2022|aconvnetforthe2020s & how to design neural network Summary
随机推荐
On distributed transaction
Binary XML file line 96: error inflating class & lt; unknown>
[Accessibility] Missing contentDescription attribute on image
buuctf [GlassFish]任意文件读取
移动app性能测试有哪些需要进行?性能测试报告如何收费?
一些编码Tips
Student status management system
Let resources flow freely in the cloud and locally
QT database application 22 file coding format recognition
Shi Yigong and other teams posted on the cover of Science: AI and freeze electron microscope revealed the structure of "atomic level" NPC, a breakthrough in life science
[FAQ] summary of common problems and solutions during the use of rest API interface of sports health service
[summary] individual competition supplement POJ - 3041 asteroids & codeforces - 173b chamber of Secrets
【FAQ】运动健康服务REST API接口使用过程中常见问题和解决方法总结
buuctf [PHP]inclusion
10、 Application of state machine model (cellular automata; gdb/rr/perf; code verification tool)
How to write code that is not easy to overflow memory
How to configure multiple data sources
The Japanese version of arXiv is a cool batch: only 37 papers have been received after more than 2 months
从解读 BDC 自动生成的代码谈起,讲解 SAPGUI 的程序组成部分试读版
GNN is used as the new backbone of the three major tasks of CV, with the same cost performance as CNN, Vit and MLP | Chinese Academy of Sciences & Huawei Noah open source