当前位置:网站首页>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 .
边栏推荐
- PHP二级域名session共享方案
- EditText request focus - EditText request focus
- NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
- Pandora IOT development board learning (HAL Library) - Experiment 5 external interrupt experiment (learning notes)
- 疫情常态化大背景下,关于远程办公的思考|社区征文
- Batch files: list all files in a directory with relative paths - batch files: list all files in a directory with relative paths
- SVN使用规范
- Why does the std:: string operation perform poorly- Why do std::string operations perform poorly?
- Initial test of scikit learn Library
- Basis of target detection (IOU)
猜你喜欢
Explore Cassandra's decentralized distributed architecture
Asemi rectifier bridge umb10f parameters, umb10f specifications, umb10f package
Slam learning notes - build a complete gazebo multi machine simulation slam from scratch (I)
The accept attribute of the El upload upload component restricts the file type (detailed explanation of the case)
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
Initial test of scikit learn Library
Cocos Creator 2.x 自动打包(构建 + 编译)
[proteus simulation] 8 × 8LED dot matrix screen imitates elevator digital scrolling display
工资3000,靠“视频剪辑”月入40000:会赚钱的人,从不靠拼命!
随机推荐
MongoDB 的安装和基本操作
Break through 1million, sword finger 2million!
深入理解 SQL 中的 Grouping Sets 语句
EditText request focus - EditText request focus
Pychart error updating package list: connect timed out
Advanced Mathematics (Seventh Edition) Tongji University exercises 2-1 personal solutions
Uploads labs range (with source code analysis) (under update)
Nifi from introduction to practice (nanny level tutorial) - flow
QT串口ui设计和解决显示中文乱码
Cocos Creator 2.x 自动打包(构建 + 编译)
The mixlab editing team is recruiting teammates~~
Remote file contains actual operation
[200 opencv routines] 217 Mouse interaction to obtain polygon area (ROI)
Golang 装饰器模式以及在NSQ中的使用
远程文件包含实操
Please be prepared to lose your job at any time within 3 years?
面试之 top k问题
Redis installation under windows and Linux systems
远程办公之大家一同实现合作编辑资料和开发文档 | 社区征文
Asemi rectifier bridge umb10f parameters, umb10f specifications, umb10f package