Coding Standards and Version Control
https://www.zhihu.com/question/393040445 For merge and release, you can refer to Git Flow. However, if you do Trunk-based Development, this can also be omitted. Author: Jacky Link: https://www.zhihu.com/question/393040445/answer/1215427425 Source: Zhihu Copyright belongs to the author. For commercial reprints please contact the aut
For merge and release, you can refer to Git Flow. However, if you do Trunk-based Development, this can also be omitted.

Author: Jacky Link: https://www.zhihu.com/question/393040445/answer/1215427425 Source: Zhihu Copyright belongs to the author. For commercial reprints please contact the author for authorization; for non-commercial reprints please indicate the source.
The main problem our team encountered in development was that when there was a lot of work on the project, the branches became a complete mess. Because we previously used Microsoft’s TFS for management, it was even messier. Later we referred to some open-source project management methods and created a GIT management method: mainly two branches, master and dev. master is always the production environment, dev is always the test environment. After testing on dev is complete, it is merged into master for release. When we need to do new features or bugfixes, we create some milestones and tasks, and branch off from dev, with the naming method “internal number/main”. Programmers then branch their own feature branches from main. After programmers finish their features, they send a pull request to a reviewer, and only then can it be merged into the main branch. When all features are done, we PR-merge main into dev and run automated tests. Then when releasing to the test environment, we put a TAG on it as the version number, for example 1.1.0, then Jenkins automatically tests and builds in the background. This can avoid the tested program not being 100% equal to the version that will be released, because too many programmers built it themselves and then delivered it, causing all kinds of problems. Manual testing; if there are no problems, schedule a date to go live; if bugs appear, run the process again and TAG a new version, for example 1.1.1. Before going live to production, merge dev into master.
_EOF_
Coding Standards and Version Control
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
StarBlog博客开发笔记:前端开发之导航守卫
路由对象router给我们提供了beforeEach方法,可以在每次路由之前进行一些相关处理,也叫导航守卫,我们这里就通过导航守卫实现一些类似身份认证的辅助功能。 修改router/index.js文件,添加导航守卫,在每次路由时判断用户会话是否过期。如果登录有效且跳转的是登录界面,就直接路由到主页;如果是非登录页面且会话过期,就跳到登录页面要求登录。 代码如下 router.beforeEach
2023-07-14 · StarBlog前端开发-Vue · 约 1 分钟
后 Django 时代:SQLAlchemy 2.0、Tortoise 与 Piccolo 三大异步 ORM 选型指南
SQLAlchemy 2.0 才是工业级稳定,Alembic 迁移能力谁用谁知道。Tortoise ORM 是 Django 老玩家的舒适区,但灵活度有限。Piccolo 语法现代但生态太嫩,适合玩票。别再迷信 Stars,生产环境看的是谁扛造。
2026-04-10 · Python · 约 1 分钟
AspNetCore开发笔记:WebApi项目集成企业微信和公众号
微信开发文档烂得离谱,直接用SKIT库搞定。异步处理消息,图片下载内存处理,公众号被动回复5秒内搞定。啧啧。
2025-12-22 · Asp-Net-Core开发笔记 · 约 1 分钟
ExceptionLess的安装、配置、使用
前言 Exceptionless 是一个开源的实时的日志收集框架,它可以应用在基于 ASP.NET,ASP.NET Core,Web API,Web Forms,WPF,Console,ASP.NET MVC 等技术开发的应用程序中,并且提供了REST接口可以应用在 Javascript,Node.js 中。(基本就是.Net技术栈的一套东西) 项目地址:https://github.com/ex
2022-07-21 · DevOps · 约 1 分钟
讨论
共 0 条加载评论中…