当前位置:网站首页>Svn - detailed documentation
Svn - detailed documentation
2022-07-26 19:47:00 【51CTO】
1、 Start by opening Cornerstone
2、 Then as shown in the figure below
3、 Select the corresponding warehouse , As shown in the figure below
4、 then Import When it's done , Just submit the local documents to SVN On the server , As shown in the figure below , Plus, if you want to use SVN Version control , Then you need to put the files on the server Check Out To local , In this case, local Check Out The next file is associated with the corresponding file on the server , In this way, when the local file is changed again, it can act on SVN On the server , A purpose of version control has been achieved . Here's the picture :
PS: If you upgrade when you open the project SVN Version! , Don't upgrade , If you upgrade your Working Copy It may not open .
5、 find Check Out To the local working copy folder , At this time, there will be one more under the folder .svn Hidden files , This file records the additions in the current directory 、 Delete 、 Change operation , As shown in the figure below :
PS: Input... At the terminal :defaults write com.apple.finder AppleShowAllFiles -bool true And then restart Finder( You can input killall Finder)
6、 If in Working Copy If changes are made in the project , Here's the picture :
It's very important :
If you want to apply this change to the server , Then you need to select the whole Working Copy( When you are not sure which file you are changing ) Submit , Just beginning to use SVN When , You must back up the code locally before submitting it to the server every time ( When you are proficient, you don't need to back up )!!!! In order to prevent SVN error , Cause code loss . You must first Update Server code to local , And then in Commit Your own changes !!!
Then the following interface appears :
At this time, other members of the group select the whole Working Copy Conduct Update, Then the line of code you just added will also appear in his project .
7、 If a new file is added , Then, as shown in the figure :
8、 Deletion of files
9、 add to ⼀ One ⽂ file , But no choice working copy The direct election is successful ⼯ engineering ⽂ file , So at this time, other team members are Update Then I found that there was red ⾊ Chromatic ⽂ file , reason (1、 Yes, only the configuration is submitted ⽂ file , Did not submit the actual ⽂ Pieces of ,2、 Only the configuration has been updated ⽂ file )
2
10、 The emergence of conflict : The conflict must be caused by changing the same line or the same piece of code
Here's the picture : At the same time changed AppDelegate Inside 22 Line code
Communication is needed at this time , Whose code is correct , Whose code to keep , Or keep both codes .
11、 If SVN When using files / After the folder ”?” The situation of , Here's the picture :
12、 File conflict :
A Students create a new AViewController, then Update,Commit Submit , then B Students create a new BViewController, then Update, At this time, you will find that the project cannot be opened , The following prompt appears :
This indicates that the configuration file conflicts , Right click the project file , Select Show package content , Here's the picture :
Then see the following figure :
Double click to open the configuration file (project.pbxproj), Then as shown in the picture :
And then in Cornerstone Do the following operations in :
13、 When deleting a file, you just delete the reference of the file , And then from Finder Delete the corresponding file in the following figure :
At this time, you can undo the previous deletion in the following way :
If you want to really delete relevant files , So in Cornerstone Inside :
边栏推荐
- 利用MySQL主从复制延迟拯救误删数据
- EN 1504-7 products for protection and repair of concrete structures corrosion prevention of reinforcement - CE certification
- jar文件 反编译(IDEA环境)
- 3r平衡型理财产品会有风险吗?风险大吗?
- LeetCode每日一练 —— 189. 轮转数组
- Leetcode-138-copy linked list with random pointer
- Will 3R balanced financial products have risks? Is it risky?
- What is federated graph machine learning? A summary of the latest "federal map machine learning: concepts, techniques, and Applications" at the University of Virginia
- A case study of building an efficient management system for a thousand person food manufacturing enterprise with low code
- CONDA transfer project virtual environment essential skills +pip speed download too slow solution
猜你喜欢

eadiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to c

【PHP】将 SESSION 数据保存到 Redis

测试面试题集-UI自动化测试

"Weilai Cup" 2022 Niuke summer multi school training camp 1

Linear algebra Chapter 4 linear equations

Redis6

工作13年后,个人的一点软件测试经历及感想……

Detailed explanation of Yolo V2

知识管理系统是什么?你需要知道这些

What is a knowledge management system? You need to know this
随机推荐
关于接口测试你想知道的都在这儿了
Redis6
jar文件 反编译(IDEA环境)
彻底关闭win10自动更新
基于华为云 IOT 设计智能称重系统 (STM32)【二】结尾有资料
Familiarize you with the "phone book" of cloud network: DNS
[yolov5] - detailed version of training your own dataset, nanny level learning, logging, hand-in-hand tutorial
Four methods of closing forms in C #
Method of replacing Chinese characters with PHP
canvas 图形
Design of intelligent weighing system based on Huawei cloud IOT (STM32) [II] there is information at the end
【实习经验】日期校验
YOLO V1详解
Talk about how to use redis to realize distributed locks?
The authentication type 10 is not supported
ipad下载的文件在哪里可以找到
[MySQL must know and know] log details
PADS画2.54mm排针
2022牛客多校联赛第三场 题解
Weekend highlights review | establishment of digital RMB industry alliance; China Mobile announced that hefeixin will stop its service