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持续交付
180
9
持续集成:创建构建管道的第一步
用它来管理源代码,最终导致
Git
现在成为大多数开发人员首选的
DVCS
工具。
Git
仓库可以保存在远程环境中,例如,
GitHub
https://github.com/
)和
Atlassian
Bitbucket
https://bitbucket.org/
)都是热门的代码托管网站。每个开发人员都可以将某
个代码仓库克隆到他们个人的开发机器上,在本地还可以获得一份完整的开发历史记录。
代码变更可以从一个仓库复制到另一个仓库,并且所有这些代码变更分支,都可以像本
地开发分支一样进行合并。
Git
支持快速建立分支和合并分支,并且提供了可视化和在
非线性开发历史版本之间切换的专业工具。在
Git
中有一个核心的假设,即代码合并会
比代码本身的变更更加频繁,因为新提交的代码会被分发给各位审阅者。
与旧的
VCS
技术相比,
Git
中的分支更加轻量,因为一个分支只是一次提交的引用。但
是,创建分支的便捷性可能会带来另一个后果,就是对于从事较大功能开发的人员来说,
可能会偏离主线或者主干分支很长时间。
许多开源和商业项目都使用
GitHub
等代码托管网站,它们不仅能够存储源代码,还可
以作为一个代码贡献者管理、文档和问题跟踪的中心枢纽。如果你想使用本书中的示例,
首先需要学会使用
GitHub
。但是,你也可以选择其他托管平台,因为版本控制和项目协
作的核心理念,适用于所有的
DVCS
托管网站。
使用中心化的
VCS
遇到了问题?该考虑升级了
如果你在使用
VCS
SVN
等中心化版本控制系统时,遇到很多无法解决的问 ...
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