当前位置:网站首页>Code merging of centralized version control tools
Code merging of centralized version control tools
2022-07-27 01:20:00 【Zero rounding】
Problem description : I just started learning version control tools today , Its workflow is that people who work together connect to the server through the client , Take out the latest file , Work on , Then submit the update . If multiple people modify the same document at the same time , So what are the consequences , And how to merge files , Form the latest documents ?
Consequences and merger rules :
If multiple people modify different lines of code in the same file at the same time , Then the version control tool will be submitted by the first person , Remind subsequent submitters to update documents , Otherwise, you can't submit , After updating the file, you can merge the modified file with the file in the Library , In this order , So the latest file finally obtained is the modified version of everyone .
But if multiple people modify the same line of code in the same file at the same time or binary files that cannot be compared , Such as pictures and so on , It is easy to cause conflicts when submitting version control , Cause problems that cannot be submitted . At this time, after the first person submits the modified file to the Library , Subsequent submitters will also prompt to update the file , And can cause conflict , Only after the conflict is resolved according to the prompt can you continue to submit the Library , The latest file finally obtained is the conflict resolution version according to the last person who submitted the Library .
Methods to resolve conflicts are not provided here , This article is only for understanding how to merge files when multiple people modify the same file at the same time in the centralized version control tool .
SVN Reference links for conflict resolution methods :
SVN Solve the conflict _FameLee- The blog of -CSDN Blog _svn Resolve conflicts
边栏推荐
- 解决Pytorch中Cuda无法GPU加速问题
- New experience of mlvb cloud live broadcast: millisecond low latency live broadcast solution (with live broadcast performance comparison)
- 什么是数字经济,它是如何改变商业模式的?
- 浅析ContentValues
- Simple explanation of database table connection
- Are you ready for the Internet of things to revolutionize manufacturing?
- SQL关系代数——除法
- c语言实现三子棋游戏
- Li Hongyi machine learning (2021 Edition)_ P5-6: small gradient processing
- 6. 世界杯来了
猜你喜欢

Choose RTMP or RTC protocol for mobile live broadcast

Understanding of Flink interval join source code

Li Hongyi machine learning (2017 Edition)_ P14: back propagation

Jenkins--基础--5.2--系统配置--系统配置

Next generation Internet: Video Networking

MySQL关闭连接事务自动提交的问题

李宏毅机器学习(2017版)_P6-8:梯度下降

快来帮你三分钟了解物联网

Flink sliding window understanding & introduction to specific business scenarios

Warning: IPv4 forwarding is disabled Networking will not work.
随机推荐
链表常规OJ
adb. Exe stopped working popup problem
Li Hongyi machine learning (2017 Edition)_ P3-4: Regression
Come and help you understand the mobile Internet in a minute
李宏毅机器学习(2017版)_P1-2:机器学习介绍
快来帮你三分钟了解物联网
5. Legal bracket string
How to open ads for profit after uni app develops apps and plug-ins: uni ad
Create MDK project
Li Hongyi machine learning (2017 Edition)_ P21: convolutional neural network CNN
随着5G越来越普及,我们的生活会受到哪些积极的影响
Android——数据持久化技术(三) 数据库存储
6. 世界杯来了
2. Wrong odometer
pytorch张量数据基础操作
SQL learning (1) - table related operations
Li Hongyi machine learning (2017 Edition)_ P5: error
李宏毅机器学习(2017版)_P14:反向传播
Compile Darknet under vscode2015 to generate darknet Ext error msb3721: XXX has exited with a return code of 1.
Jenkins -- Basic -- 5.2 -- system configuration -- system configuration