Skip to Content
《使用 Git 进行版本控制》第三版
book

《使用 Git 进行版本控制》第三版

by Prem Kumar Ponuthorai, Jon Loeliger
May 2025
Beginner to intermediate
548 pages
7h 40m
Chinese
O'Reilly Media, Inc.
Content preview from 《使用 Git 进行版本控制》第三版

第四部分. 高级技能

在接下来的章节中,我们将讨论一些主题,帮助你了解在分布式协作者之间共享和开发的版本库之间传播变更的其他方法。我们将讨论一种简单而有效的机制,通过补丁共享这些变更,您可以通过电子邮件发送这些补丁。

同时,我们也开始让你了解为一些 Git 操作扩展标准执行流程的可能性。如果你需要在日常工作中实施标准 Git 操作之外的自定义执行工作流程,这将使你受益匪浅。虽然现在流行的 Git 托管平台都支持现代开发工作流程功能,但当你需要一个开箱即用的工作流程功能时,掌握这种技巧会让你的袖子里多出一个小窍门。

当你需要将项目模块化并在独立的 Git 仓库中进行管理时,第 15 章将为你提供帮助。我们将讨论实现这一目标的两种常用方法,并通过一些示例演示技术实现,以参考依赖的 Git 仓库。在第 16 章中,我们将进一步推进在中级章节中学到的技能。我们将分享一些优雅的技巧,帮助你将相关的大量改动制作成原子提交,教你如何查找丢失的提交,并演示git rev-list 命令的用法。本章的亮点是git-filter-repo 工具。它是你修复和操作版本库提交和历史所需的瑞士军刀。我们强烈建议你花大量时间学习这部分内容。

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

学习 GitHub Actions

学习 GitHub Actions

Brent Laster
《Kubernetes 最佳实践》第二版

《Kubernetes 最佳实践》第二版

Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson
GraphQL 学习指南

GraphQL 学习指南

Eve Porcello, Alex Banks

Publisher Resources

ISBN: 9798341657922