Git Version Control Cookbook

Aske Olsson, Rasmus Voss

  • 出版商: Packt Publishing
  • 出版日期: 2014-07-19
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 273
  • 裝訂: Paperback
  • ISBN: 1782168451
  • ISBN-13: 9781782168454
  • 相關分類: Version Control
  • 海外代購書籍(需單獨結帳)

商品描述

90 hands-on recipes that will increase your productivity when using Git as a version control system

Overview

  • Filled with practical recipes that will teach you how to use the most advanced features of the Git system
  • Improve your productivity by learning to work faster, more efficiently, and with more confidence
  • Discover tips and tricks that will show you when and how to use the advanced features of Git

In Detail

Starting with the Git data model, you will learn how Git stores files and how it looks at commits. You will then learn how you can recover from mistakes; from committing on the wrong branch to recovering lost commits/files. Next, you will discover how you can force rebase on some branches and use regular Git merge on other branches. You will also learn how to extract information from the repository.

As you progress through this book, you will learn how you can automate the usual Git processes by utilizing the hook system built into Git. The book also covers advanced repository management, including different options to rewrite the history of a Git repository. Finally, you will discover how you can work offline with Git, how to track what is going on behind the scenes, and how to use the stash for different purposes.

What you will learn from this book

  • Understand the Git data model and how you can navigate the database with simple commands
  • Learn how you can recover lost commits/files
  • Discover how you can force rebase on some branches and use regular Git merge on other branches
  • Extract metadata from a Git repository
  • Familiarize yourself with Git notes
  • Discover how you can work offline with Git
  • Debug with Git and use various techniques to find the faulty commit

Approach

This practical guide contains a wide variety of recipes, taking you through all the topics you need to know about to fully utilize the most advanced features of the Git system.

Who this book is written for

If you are a software developer or a build and release engineer who uses Git in your daily work and want to take your Git knowledge to the next level, then this book is for you. To understand and follow the recipes included in this book, basic knowledge of Git command-line code is mandatory.

商品描述(中文翻譯)

這本實用指南包含了各種不同的範例,帶領您深入了解Git系統最高級功能的所有主題。

這本書適合軟體開發人員或建置和發佈工程師,他們在日常工作中使用Git,並希望將Git知識提升到更高的水平。要理解並遵循本書中包含的範例,需要具備Git命令行代碼的基本知識。

本書包含90個實用的食譜,將幫助您在使用Git作為版本控制系統時提高生產力。

概述:
- 充滿實用的食譜,教您如何使用Git系統的最高級功能
- 通過學習更快、更高效、更自信地工作,提高您的生產力
- 發現提示和技巧,告訴您何時以及如何使用Git的高級功能

詳細內容:
從Git數據模型開始,您將學習Git如何存儲文件以及如何查看提交。然後,您將學習如何從錯誤中恢復;從在錯誤分支上提交到恢復丟失的提交/文件。接下來,您將發現如何在某些分支上強制重新基於其他分支使用常規的Git合併。您還將學習如何從存儲庫中提取信息。

隨著閱讀本書,您將學習如何通過利用Git內置的鉤子系統自動化常規的Git流程。本書還涵蓋了高級存儲庫管理,包括重寫Git存儲庫歷史的不同選項。最後,您將發現如何在離線狀態下使用Git,如何追蹤背後的情況,以及如何使用暫存區進行不同的目的。

從本書中您將學到:
- 理解Git數據模型以及如何使用簡單的命令瀏覽數據庫
- 學習如何恢復丟失的提交/文件
- 發現如何在某些分支上強制重新基於其他分支使用常規的Git合併
- 從Git存儲庫中提取元數據
- 熟悉Git註釋
- 發現如何在離線狀態下使用Git
- 使用Git進行調試,並使用各種技術找到錯誤的提交

方法:
這本實用指南包含了各種不同的食譜,帶領您深入了解Git系統最高級功能的所有主題。

本書的讀者:
如果您是軟體開發人員或建置和發佈工程師,並且在日常工作中使用Git,並希望將Git知識提升到更高的水平,那麼這本書適合您。要理解並遵循本書中包含的範例,需要具備Git命令行代碼的基本知識。