{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Git版本控制管理(第2版)

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Git版本控制管理(第2版)

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Content Description

Git是一款免费、开源的分布式版本控制系统,早由LinilusTorvalds创建,用于管理Linux内核开发,现已成为分布式版本控制的主流工具。
《Git版本控制管理(第2版)》是学习掌握Git的上佳教程,总共分为21章,其内容涵盖了如何在多种真实开发环境中使用Git;洞察Git的常用案例、初始任务和基本功能;如何在集中和分布式版本控制中使用Git;使用Git管理合并、冲突、补丁和差异;获得诸如重新定义变基(rebasing)、钩子(hook)以及处理子模块(子项目)等的高级技巧;Git如何与SVN版本库交互(包括SVN向Git的转换);通过GitHub导航、使用开源项目,并对开源项目做贡献。
《Git版本控制管理(第2版)》适合需要进行版本控制的开发团队成员阅读,对Git感兴趣的开发人员也可以从中获益。
Author Description

Jon Loeliger,是一位自由的软件开发工程师,对Linux、U-Boot和Git等开源项目颇有贡献。他在许多会议上(比如Linux World)发表过Git教程相关的演讲,并为Linux Magazine撰写了多篇Git相关的稿件。在成为自由的软件开发工程师之前,他花费了多年的时间来开发高度优化的编译器、路由器协议、Linux移植,还偶尔编写过游戏软件。Jon持有普度大学计算机科学学位。在闲暇之余,他还会在家里自行酿酒。

Matthew McCullough,Github.com的培训副总裁,在企业软件开发领域有15年的从业经历,还是一名经常往返于世界各地的开源教育家,以及一家美国咨询公司的联合创始人。这所有的经历使得他可以与大家分享利用Git和GitHub来取得成功的相关故事。Matthew是Gradle and Jenkins O’Reilly图书的特约作者,以及O’Reilly Git Master Class系列图书的创作者。Matthew经常在No Fluff Just Stuff巡回会议上发表演讲,还是DZone Git RefCard的作者,同时还是Denver Open Source Users Groups的主席。
Catalogue

第1章 介绍 1
1.1 背景 1
1.2 Git的诞生 2
1.3 先例 4
1.4 时间线 5
1.5 名字有何含义 6

第2章 安装Git 7
2.1 使用Linux上的二进制发行版 7
2.1.1 Debian/Ubuntu 7
2.1.2 其他发行版 8
2.2 获取源代码 9
2.3 构建和安装 10
2.4 在Windows上安装Git 11
2.4.1 安装Cygwin版本的Git 12
2.4.2 安装独立的Git(msysGit) 13

第3章 起步 16
3.1 Git命令行 16
3.2 Git使用快速入门 18
3.2.1 创建初始版本库 18
3.2.2 将文件添加到版本库中 19
3.2.3 配置提交作者 21
3.2.4 再次提交 21
3.2.5 查看提交 21
3.2.6 查看提交差异 23
3.2.7 版本库内文件的删除和重命名 23
3.2.8 创建版本库副本 24
3.3 配置文件 25
3.4 疑问 27

第4章 基本的Git概念 28
4.1 基本概念 28
4.1.1 版本库 28
4.1.2 Git对象类型 29
4.1.3 索引 30
4.1.4 可寻址内容名称 30
4.1.5 Git追踪内容 31
4.1.6 路径名与内容 31
4.1.7 打包文件 32
4.2 对象库图示 33
4.3 Git在工作时的概念 35
4.3.1 进入.git目录 35
4.3.2 对象、散列和blob 36
4.3.3 文件和树 37
4.3.4 对Git使用SHA1的一点说明 38
4.3.5 树层次结构 40
4.3.6 提交 40
4.3.7 标签 41

第5章 文件管理和索引 43
5.1 关于索引的一切 44
5.2 Git中的文件分类 44
5.3 使用git add 46
5.4 使用git commit的一些注意事项 48
5.4.1 使用git commit --all 48
5.4.2 编写提交日志消息 50
5.5 使用git rm 50
5.6 使用git mv 52
5.7追踪重命名注解 54
5.8 .gitignore文件 55
5.9 Git中对象模型和文件的详细视图 56

第6章 提交 61
6.1 原子变更集 62
6.2 识别提交 62
6.2.1 绝对提交名 63
6.2.2 引用和符号引用 64
6.2.3 相对提交名 65
6.3 提交历史记录 67
6.3.1 查看旧提交 67
6.3.2 提交图 70
6.3.3 提交范围 73
6.4 查找提交 77
6.4.1 使用git bisect 78
6.4.2 使用git blame 82
6.4.3 使用Pickaxe 83

第7章 分支 84
7.1 使用分支的原因 84
7.2 分支名 85
7.3 使用分支 86
7.4 创建分支 88
7.5 列出分支名 89
7.6 查看分支 89
7.7 检出分支 91
7.7.1 检出分支的一个简单例子 91
7.7.2 有未提交的更改时进行检出 92
7.7.3 合并变更到不同分支 94
7.7.4 创建并检出新分支 95
7.7.5 分离HEAD分支 96
7.8 删除分支 97

第8章 diff 100
8.1 git diff命令的格式 101
8.2 简单的git diff例子 104
8.3 git diff和提交范围 108
8.4 路径限制的git diff 110
8.5 比较SVN和Git如何产生diff 112

第9章 合并 114
9.1 合并的例子 114
9.1.1 为合并做准备 115
9.1.2 合并两个分支 115
9.1.3 有冲突的合并 117
9.2 处理合并冲突 121
9.2.1 定位冲突的文件 122
9.2.2 检查冲突 122
9.2.3 Git是如何追踪冲突的 126
9.2.4 结束解决冲突 128
9.2.5 中止或重新启动合并 129
9.3 合并策略 130
9.3.1 退化合并 132
9.3.2 常规合并 134
9.3.3 特殊提交 135
9.3.4 应用合并策略 136
9.3.5 合并驱动程序 137
9.4 Git怎么看待合并 138
9.4.1 合并和Git的对象模型 138
9.4.2 压制合并 139
9.4.3 为什么不一个接一个地合并每个变更 140

第10章 更改提交 142
10.1 关于修改历史记录的注意事项 143
10.2 使用git reset 144
10.3 使用git cherry-pick 152
10.4 使用git revert 154
10.5 reset、revert和checkout 154
10.6 修改最新提交 155
10.7 变基提交 158
10.7.1 使用git rebase -i 160
10.7.2 变基与合并 164

第11章 储藏和引用日志 170
11.1 储藏 170
11.2 引用日志 178

第12章 远程版本库 183
12.1 版本库概念 184
12.1.1 裸版本库和开发版本库 184
12.1.2 版本库克隆 185
12.1.3 远程版本库 186
12.1.4 追踪分支 186
12.2 引用其他版本库 187
12.2.1 引用远程版本库 188
12.2.2 refspec 189
12.3 使用远程版本库的示例 191
12.3.1 创建权威版本库 192
12.3.2 制作你自己的origin远程版本库 193
12.3.3 在版本库中进行开发 195
12.3.4 推送变更 196
12.3.5 添加新开发人员 197
12.3.6 获取版本库更新 199
12.4 图解远程版本库开发周期 203
12.4.1 克隆版本库 204
12.4.2 交替的历史记录 205
12.4.3 非快进推送 205
12.4.4 获取交替历史记录 207
12.4.5 合并历史记录 208
12.4.6 合并冲突 208
12.4.7 推送合并后的历史记录 209
12.5 远程版本库配置 209
12.5.1 使用git remote 210
12.5.2 使用git config 211
12.5.3 使用手动编辑 212
12.6 使用追踪分支 212
12.6.1 创建追踪分支 212
12.6.2 领先和落后 215
12.7 添加和删除远程分支 216
12.8 裸版本库和git推送 217

第13章 版本库管理 219
13.1 谈谈服务器 219
13.2 发布版本库 220
13.2.1 带访问控制的版本库 220
13.2.2 允许匿名读取访问的版本库 221
13.2.3 允许匿名写入权限的版本库 225
13.2.4 在GitHub上发布版本库 225
13.3 有关发布版本库的建议 227
13.4 版本库结构 228
13.4.1 共享的版本库结构 228
13.4.2 分布式版本库结构 228
13.4.3 版本库结构示例 229
13.5 分布式开发指南 231
13.5.1 修改公共历史记录 231
13.5.2 分离提交和发布的步骤 232
13.5.3 没有唯一正确的历史记录 232
13.6 清楚你的位置 233
13.6.1 上下游工作流 233
13.6.2 维护者和开发人员的角色 234
13.6.3 维护者-开发人员的交互 234
13.6.4 角色的两面性 235
13.7 多版本库协作 236
13.7.1 属于你自己的工作区 236
13.7.2 从哪里开始你的版本库 237
13.7.3 转换到不同的上游版本库 238
13.7.4 使用多个上游版本库 239
13.7.5 复刻项目 241

第14章补丁 244
14.1为什么要使用补丁 245
14.2生成补丁 246
14.3邮递补丁 254
14.4应用补丁 256
14.5坏补丁 264
14.6补丁与合并 264

第15章钩子 265
15.1安装钩子 267
15.1.1钩子示例 267
15.1.2创建第一个钩子 268
15.2可用的钩子 270
15.2.1与提交相关的钩子 270
15.2.2与补丁相关的钩子 271
15.2.3与推送相关的钩子 272
15.2.4其他本地版本库的钩子 273

第16章合并项目 274
16.1旧解决方案:部分检出 275
16.2显而易见的解决方案:将代码导入项目 276
16.2.1手动复制导入子项目 277
16.2.2通过gi

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book