Git Version Control Cookbook: Leverage version control to transform your development workflow and boost productivity, 2nd Edition

A series of practical recipes to simplify the Git learning experience and increase your productivity when using Git version control

Key Features

  • Explore practical recipes to use Git’s most advanced features
  • Learn how Git references its objects and how history is recorded
  • Use reflog and git fsck to recover lost information

Book Description

Git is one of the most popular tools for versioning. Git Version Control Cookbook builds on the success of the previous edition and provides you with an up-to-date guide to solving problems related to versioning.

You’ll start by learning about the Git data model and how it stores files and looks at commits. By using simple commands, you’ll learn how to navigate through the database. Once you have accustomed yourself to the basics, you’ll explore techniques to configure Git with comprehensive examples and configuration targets. You’ll gain insights into improving your understanding of branches and recovery from mistakes ― right from committing to a wrong branch to recovering lost commits or files. You’ll then move on to discovering the features that Git rebase has to offer and use regular Git merge on other branches. You’ll explore Git notes and learn how to utilize the update, list, and search commands. In addition to this, you’ll learn how to extract metadata from repositories and automate your daily tasks using Git hooks. You’ll then study in detail repository maintenance, patching, and offline sharing. By the end of the book, you’ll have grasped various tips and tricks for everyday usage, while increasing your knowledge of Git providers, integrations, and clients.

What you will learn

  • Understand the Git data model and use commands to navigate the database
  • Find out how you can recover lost commits or files
  • Force a rebase on some branches and use regular Git to merge on the rest
  • Master the techniques required to extract metadata from repositories
  • Explore Git notes and learn about the various features that it offers
  • See how to decode different subcommands

Who this book is for

The Git Version Control Cookbook is for you if you are a developer or Build Release manager looking for a full-fledged practical guide that will take your Git knowledge to the next level. Basic knowledge of GNU tools and shell or bash scripting is needed.

Table of Contents

  1. Navigating Git
  2. Configuration
  3. Branching, Merging, and Options
  4. Rebasing Regularly and Interactively, and Other Use Cases
  5. Storing Additional Information in Your Repository
  6. Extracting Data from the Repository
  7. Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts
  8. Recovering from Mistakes
  9. Repository Maintenance
  10. Patching and Offline Sharing
  11. Tips and Tricks
  12. Git Providers, Integrations, and Clients

Book details

  • Authors:Aske Olsson, Rasmus Voss
  • Publisher:Packt Publishing - ebooks Account
  • Publication date:July 26, 2018
  • ISBN-10:9781789137
  • ISBN-13:978-1789137545
  • Pages:354 pages
  • Format:epub
  • Size:11.72Mb
Get Download Link

Leave a Reply

Your email address will not be published. Required fields are marked *