当前位置:网站首页>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
边栏推荐
- Verilog过程赋值语句
- Flinksql multi table (three table) join/interval join
- 数据库期中(一)
- 李宏毅机器学习(2021版)_P7-9:训练技巧
- What is the digital economy and how does it change the business model?
- Flink1.11 intervaljoin watermark generation, state cleaning mechanism source code understanding & demo analysis
- 最长公共子串
- In depth learning report (2)
- The shortest way to realize video applets: from bringing goods to brand marketing
- adb.exe已停止工作 弹窗问题
猜你喜欢

MTCNN

李宏毅机器学习(2017版)_P14:反向传播

做题笔记1

力扣刷题量300记录帖

Game project export AAB package upload Google tips more than 150m solution

Jenkins--基础--04--安装中文插件

李宏毅机器学习(2017版)_P1-2:机器学习介绍

最长公共子串

Tencent upgrades the live broadcast function of video Number applet. Tencent's foundation for continuous promotion of live broadcast is this technology called visual cube (mlvb)

When a transaction encounters a distributed lock
随机推荐
深度学习笔记
非递归前中后序遍历二叉树
Jenkins--基础--04--安装中文插件
Small programs related to a large number of digital collections off the shelves of wechat: is NFT products the future or a trap?
4. Root user login
堆排序相关知识总结
Analysis of contentvalues
Li Hongyi machine learning (2017 Edition)_ P14: back propagation
05 - attack and defense of phishing websites
The setup of KEIL development environment is delivered to the installation package
x 的平方根
ContextCompat.checkSelfPermission()方法
数据库期中(一)
Li Hongyi machine learning (2017 Edition)_ P3-4: Regression
ADB shell screen capture command
What is the digital economy and how does it change the business model?
In 2022, will there be opportunities for mobile Internet apps and short video live tracks?
1. 众数
Jenkins -- Basic -- 5.3 -- system configuration -- global security configuration
6. 世界杯来了