当前位置:网站首页>[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
边栏推荐
- 山东老博会,2022中国智慧养老展会,智能化养老、适老科技展
- Laravel constructor and middleware execution order
- How does geojson data merge the boundaries of regions?
- Shader basic UV operations, translation, rotation, scaling
- 【HCSD大咖直播】亲授大厂面试秘诀-简要笔记
- laravel中将session由文件保存改为数据库保存
- hellogolang
- [excelexport], Excel to Lua, JSON, XML development tool
- laravel 是怎么做到运行 composer dump-autoload 不清空 classmap 映射关系的呢?
- Shader_ Animation sequence frame
猜你喜欢
What are compiled languages and interpreted languages?
航運船公司人工智能AI產品成熟化標准化規模應用,全球港航人工智能/集裝箱人工智能領軍者CIMC中集飛瞳,打造國際航運智能化標杆
Unity3d click events added to 3D objects in the scene
Continuous creation depends on it!
Mysql database basic operation DQL basic query
Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench
Enterprise log analysis system elk
删除 console 语句引发的惨案
神经网络c语言中的指针是怎么回事
随机推荐
markdown公式编辑教程
分步式監控平臺zabbix
应用程序和matlab的通信方式
Leetcode-136- number that appears only once (solve with XOR)
js中复选框checkbox如何判定为被选中
Odoo集成Plausible埋码监控平台
The unity vector rotates at a point
JS modularization
如何在shell中实现 backspace
Regular expression string
hellogolang
Xcode Revoke certificate
Three. Introduction to JS learning notes 17: mouse control of 3D model rotation of JSON file
Apache Doris just "graduated": why should we pay attention to this kind of SQL data warehouse?
Laravel 服务提供者实例教程 —— 创建 Service Provider 测试实例
【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境
three.js打造酷炫下雪效果
Sysom case analysis: where is the missing memory| Dragon lizard Technology
You Yuxi, coming!
What is the difference between IP address and physical address