Skip to Content
Java持续交付
book

Java持续交付

by Daniel Bryant, Abraham Marín-Pérez
November 2019
Beginner to intermediate
406 pages
9h 21m
Chinese
Publishing House of Electronics Industry
Content preview from Java持续交付
有效地使用
DVCS
187
明确的角色,指定了它们的交互方式以及应该何时交互。除了功能分支外,它还使用其
他各个分支来准备、维护和记录版本发布。你可以获得功能分支工作流的所有好处 :拉
取请求、隔离实验,以及更高效地协作。
相较于使用单个主分支,
Gitflow
使用两个分支来记录项目的历史。
主分支
master
)用
来存储正式发布的历史(理想情况下,每次
master
提交都要包含一个发布版本号),而
开发分支
develop
)充当各个功能的集成分支,并且包含项目完整的历史记录。
在开始使用
Gitflow
时,你需要先克隆一份中心仓库,创建一个
develop
分支。每个新功
能都应该拥有自己独立的分支,不过你可以将其推送到中心仓库,以便于协作或者作为
备份。但是,各个功能分支需要使用
develop
作为其父分支,不能直接使用
master
分支,
各个功能分支不应该直接与
master
分支交互。当你完成某个功能的开发工作后,需要将
该功能分支先合并到远程的
develop
分支。由于其他开发人员也会将各自的功能分支合
并到
develop
分支,因此你通常需要根据
develop
分支的更新内容,合并本地的功能分支
或者进行变基。
一旦
develop
分支包含了足够发布的功能(或者临近某次迭代的发布日期),你就可以从
开发分支
fork
出一个
release
分支。创建
release
分支意味着将开始下一个发布周期,从
现在开始,除了
bug
修复、文档生成或者其他跟发布有关的变更内容,其他任何新的功
能都不能再进入此次发布。当发布内容做好部署准备之后, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Java性能优化实践:JVM调优策略、工具与技巧

Java性能优化实践:JVM调优策略、工具与技巧

Benjamin J. Evans, James Gough, Chris Newland
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787121374425