当前位置:网站首页>Svn usage specification
Svn usage specification
2022-07-03 16:21:00 【Brother Xing plays with the clouds】
1. The submission must be marked with notes
Submitting clear comments will help others understand your changes , Be able to quickly locate problems , It also helps the project manager grasp the development progress . therefore , When you submit the code , Fill in clear labels , Be able to briefly describe the information of the submitted documents , Let other members of the project team know your changes without looking at the code after seeing the annotation .
2. It is forbidden to submit uncompiled code
Before the code is submitted , First, make sure you can compile locally , Ensure that the trunk is always unblocked . If a new file is referenced , Make sure that all referenced documents are submitted together .
- The code passed unit tests
- The program starts normally
3. Don't submit code you don't understand
The code is being submitted SVN after , In this way, the code will be shared by project members . If you submit code you don't understand , You can't understand , Others can't understand it , This will become a hidden danger of project quality . So before introducing any third-party code , Make sure you have a clear understanding of the code .
3. Don't submit your own temporary test code
Submitted to the SVN The code of is more formal , Share with other members , Comment out your temporary test code before submitting , Do not affect the development of other members .
4. Do not submit local auto generated files
The development tool will automatically generate some project files , And the temporary files generated by the project compilation . After submitting such documents , Others may conflict with the local environment after updating, thus affecting everyone's work .
because SVN It's on the public network , So uploading these files will be too cumbersome , Affect the speed of submitting and other members' updating source code , Also wasted SVN The server Space resources .
5. Submit as a whole according to the function module , Don't submit too often
After completing a function module , Submit the relevant modifications of this module as a whole . Don't separate and submit too often , Lead to functional asynchrony .
6. Before submission , Update before submitting
Do an update operation before submitting , This can effectively prevent conflicts between locally modified files .
Another possibility is that the submission is successful , But it will overwrite the previous submission data of other members .
7. After submitting, you can let convenient colleagues update in time
Let colleagues update in time , Compile the code once , Make sure the program runs .
If there are questions , Correct the missing documents in time , And correcting errors , Avoid making mistakes that have too much impact .
8. Use the lock function with caution
Be careful with locking functions in projects , After you lock a file, others cannot continue to modify and submit the file , Although it can reduce the incidence of conflict , But it may affect the work of other personnel in the project team . Usually only when editing files that cannot be merged ( Non text files ), To properly adopt the locking operation .
边栏推荐
- Everyone in remote office works together to realize cooperative editing of materials and development of documents | community essay solicitation
- Extraction of the same pointcut
- NSQ源码安装运行过程
- 【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
- Client does not support authentication protocol requested by server; consider upgrading MySQL client
- 工资3000,靠“视频剪辑”月入40000:会赚钱的人,从不靠拼命!
- Embedded development: seven reasons to avoid open source software
- The accept attribute of the El upload upload component restricts the file type (detailed explanation of the case)
- Multithread 02 thread join
- PHP CI(CodeIgniter)log级别设置
猜你喜欢
“用Android复刻Apple产品UI”(2)——丝滑的AppStore卡片转场动画
TCP congestion control details | 3 design space
Function introduction of JMeter thread group
初试scikit-learn库
Jmeter线程组功能介绍
0214-27100 a day with little fluctuation
Slam learning notes - build a complete gazebo multi machine simulation slam from scratch (III)
Multithread 02 thread join
Famous blackmail software stops operation and releases decryption keys. Most hospital IOT devices have security vulnerabilities | global network security hotspot on February 14
MongoDB 的安装和基本操作
随机推荐
Mongodb installation and basic operation
特征多项式与常系数齐次线性递推
First!! Is lancet hungry? Official documents
[solved] access denied for user 'root' @ 'localhost' (using password: yes)
Record windows10 installation tensorflow-gpu2.4.0
ASEMI整流桥UMB10F参数,UMB10F规格,UMB10F封装
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
高等数学(第七版)同济大学 习题2-1 个人解答
跟我学企业级flutter项目:简化框架demo参考
[redis foundation] understand redis master-slave architecture, sentinel mode and cluster together (Demo detailed explanation)
【Proteus仿真】8×8LED点阵屏仿电梯数字滚动显示
工资3000,靠“视频剪辑”月入40000:会赚钱的人,从不靠拼命!
PHP中register_globals参数设置
Leetcode binary search tree
Deep understanding of grouping sets statements in SQL
远程文件包含实操
远程办公之大家一同实现合作编辑资料和开发文档 | 社区征文
Redis installation under windows and Linux systems
嵌入式开发:避免开源软件的7个理由
App mobile terminal test [4] APK operation