当前位置:网站首页>[summary of knowledge] summary of notes on using SVN in PHP
[summary of knowledge] summary of notes on using SVN in PHP
2022-07-07 16:21:00 【Full stack programmer webmaster】
In the company , We should cultivate the habit of updating the code before going to work every day , The habit of submitting code before work , And make explanations .
svn When updating the code , Right click the item to be updated , stay team Enter the resource pool synchronization interface , choice incoming mode, The displayed files need to be updated ,
Black rightwards arrow : Locally modified files ( You can choose to submit , Or cover / to update - Is to overwrite the local changes )
Blue arrow to the left :SVN Server side modified file – You need to update Black arrow with a plus sign to the right : There are more files on the local side than on the server side – Choose submit or delete Blue arrow with a plus sign to the left : There are more files on the server side than on the local side – to update Black arrow with a minus sign to the right : Local has been deleted , There are no deleted files on the server – Sync Blue left arrow with minus sign : The server has been deleted , There are no deleted files in the local – Synchronization library Red two-way arrow : Local and server-side files modified at the same time – Compare first , Then add the new server , Select merge , Then submit Black Icon with asterisk : Documents that have been modified locally but have not been submitted Update the code before working , The principle is also updated before submission , Because there may be changes in the resource base in the process of writing code . When an item has a red cross , Restore to the latest version of the repository
Eclipse in SVN Basic operation of the client :
Sync (Synchronize): Sync , It is the work done before the update is submitted , Synchronize before submitting updates , You can know what to submit and what to update , What is conflicting ( You and your colleagues Changed the same file , There may be conflicts ), In case of conflict, you cannot submit or update , The conflicting files can only be updated or submitted after they are overwritten by local files or by server files , The specific usage also needs the landlord to practice more . Right-click on the project 、 Directory or file →Team( team )→Synchronize( Synchronize with Repository ), You will enter the synchronization view interface , The selected project or directory and resource library will be displayed here (SVN Server side ) Compared with the modified file , Or whether the selected file has been modified , Double click the file to show the specific differences in the file .
Submit (Commit): Submit , It refers to something that is not on the server , That's what you changed , You need to submit the code , Other colleagues update your code . Right click the file in the synchronization view and select “ Submit (Commit)”, Or right-click the project in the project view 、 Directory or file →Team( team )→Commit( Submit ), You can submit local files to SVN Server side .
to update (Update): to update , It refers to the changes on the server , And there is no change in your local , Need you to update . Right click the file in the synchronization view and select “ to update (Update)”, Or right-click the project in the project view 、 Directory or file →Team( team )→Update( to update ), Can be SVN The server-side file is updated to the local , Keep the version of the local file consistent with that of the server .
In principle, it should be updated first , Submit after .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/113193.html Link to the original text :https://javaforall.cn
边栏推荐
- Laravel5.1 路由 -路由分组
- php 自带过滤和转义函数
- 招标公告:2022年云南联通gbase数据库维保公开比选项目(第二次)比选公告
- Iptables only allows the specified IP address to access the specified port
- 记一次项目的迁移过程
- 如何在shell中实现 backspace
- Communication mode between application program and MATLAB
- 2022山东智慧养老展,适老穿戴设备展,养老展,山东老博会
- 航運船公司人工智能AI產品成熟化標准化規模應用,全球港航人工智能/集裝箱人工智能領軍者CIMC中集飛瞳,打造國際航運智能化標杆
- 航天宏图信息中标乌鲁木齐某单位数据库系统研发项目
猜你喜欢
神经网络c语言中的指针是怎么回事
Xcode Revoke certificate
C4D learning notes 1- animation - animation key frames
Description of vs common shortcut keys
You Yuxi, coming!
2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo
Three. JS introductory learning notes 18: how to export JSON files with Blender
SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform
星瑞格数据库入围“2021年度福建省信息技术应用创新典型解决方案”
随机推荐
平衡二叉树(AVL)
Lecturer solicitation order | Apache seatunnel (cultivating) meetup sharing guests are in hot Recruitment!
星瑞格数据库入围“2021年度福建省信息技术应用创新典型解决方案”
How to determine whether the checkbox in JS is selected
js中复选框checkbox如何判定为被选中
121. The best time to buy and sell stocks
Unity3d click events added to 3D objects in the scene
Markdown formula editing tutorial
C4D learning notes 3- animation - animation rendering process case
The differences between exit, exit (0), exit (1), exit ('0 '), exit ('1'), die and return in PHP
修改配置文件后tidb无法启动
[excelexport], Excel to Lua, JSON, XML development tool
一个普通人除了去工厂上班赚钱,还能干什么工作?
47_Opencv中的轮廓查找 cv::findContours()
Particle effect for ugui
markdown公式编辑教程
Power of leetcode-231-2
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
thinkphp3.2.3中设置路由,优化url
2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo