
Git Version Control Cookbook
Leverage version control to transform your development workflow and boost productivity
Packt Publishing
2nd Edition
Published on 26. July 2018
Book
Paperback/Softback
354 pages
978-1-78913-754-5 (ISBN)
Description
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 DescriptionGit is one of the most popular tools for versioning. With over 100 practical, self-contained tutorials, this updated version of the bestselling Git Version Control Cookbook examines the common pain points and best practices to help you solve problems related to versioning.
Each recipe addresses a specific problem and offers a proven, best-practice solution with insights into how it works. You'll get started by learning about the Git data model and how it stores files, along with gaining insights on how to commit changes to a database. Using simple commands, you'll also understand how to navigate through the database. Once you have accustomed yourself to the basics, you'll explore techniques to configure Git with the help of comprehensive examples and configuration targets. Further into the book, you'll get up to speed with branches and recovery from mistakes. You'll also discover the features of Git rebase and how to use regular Git to merge other branches. The later chapters will guide you in exploring Git notes and learning to utilize the update, list, and search commands. Toward the concluding chapters, you'll focus on repository maintenance, patching, and offline sharing.
By the end of this book, you'll have grasped various tips and tricks, and have a practical understanding of best-practice solutions for common problems related to versioning.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 the rest
Study the techniques for extracting metadata from repositories and automating your tasks using Git hooks
Explore Git notes and learn about the various features that it offers
Get up to speed with decoding different subcommands
Who this book is forIf you are a developer or Build Release Manager looking for a practical guide to help you take your Git knowledge to the next level, this book is for you. Basic knowledge of GNU tools and shell or bash scripting is a must.
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 DescriptionGit is one of the most popular tools for versioning. With over 100 practical, self-contained tutorials, this updated version of the bestselling Git Version Control Cookbook examines the common pain points and best practices to help you solve problems related to versioning.
Each recipe addresses a specific problem and offers a proven, best-practice solution with insights into how it works. You'll get started by learning about the Git data model and how it stores files, along with gaining insights on how to commit changes to a database. Using simple commands, you'll also understand how to navigate through the database. Once you have accustomed yourself to the basics, you'll explore techniques to configure Git with the help of comprehensive examples and configuration targets. Further into the book, you'll get up to speed with branches and recovery from mistakes. You'll also discover the features of Git rebase and how to use regular Git to merge other branches. The later chapters will guide you in exploring Git notes and learning to utilize the update, list, and search commands. Toward the concluding chapters, you'll focus on repository maintenance, patching, and offline sharing.
By the end of this book, you'll have grasped various tips and tricks, and have a practical understanding of best-practice solutions for common problems related to versioning.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 the rest
Study the techniques for extracting metadata from repositories and automating your tasks using Git hooks
Explore Git notes and learn about the various features that it offers
Get up to speed with decoding different subcommands
Who this book is forIf you are a developer or Build Release Manager looking for a practical guide to help you take your Git knowledge to the next level, this book is for you. Basic knowledge of GNU tools and shell or bash scripting is a must.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 20 mm
Weight
661 gr
ISBN-13
978-1-78913-754-5 (9781789137545)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Kenneth Geisshirt
Git Version Control Cookbook
Leverage version control to transform your development workflow and boost productivity, 2nd Edition
E-Book
07/2018
1st Edition
Packt Publishing
€41.49
Available for download
Persons
Kenneth Geisshirt is a chemist, by education, and a strong free-software advocate. He spent his Christmas holidays in 1992 installing SLS Linux, and GNU/Linux has been his favorite operating system ever since. Currently, he does consultancy work in fields such as scientific computing and Linux clusters. He lives in Copenhagen, Denmark, with his partner and their two children. Emanuele Zattin is the Continuous Integration Specialist at Realm Inc. with experience in software development and design. He is respected for his work in designing and developing a CM Synergy to Git history conversion tool and rolling out Git-Gerrit-Jenkins in several Nokia divisions. Aske Olsson has more than 14 years of experience in the software industry. As an electrical engineer, he has been using every tool available for development, from a soldering iron over Assembly, C, Java Groovy, Python and various DSLs for programming to different SCMs and build-, CI- and issue-tracking systems. He has worked for Nokia for 6 years and, currently, works at Keylane. Aske has experience with Git; he has been teaching Git in regular training sessions, from basic Git to advanced usage. Rasmus Voss has been working with continuous integration, continuous delivery, automatic testing, and DevOps, in various industries. He has always strived to ensure that where developers, testers, project leaders, and managers can work with the system instead of against the system. Typically, the processes and solutions he develops are clear, precise, and well documented, with relevant feedback to all parts of the software development process.
Content
Table of Contents
Navigating Git
Configuration
Branching, Merging, and Options
Rebasing Regularly and Interactively, and Other Use Cases
Storing Additional Information in Your Repository
Extracting Data from the Repository
Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts
Recovering from Mistakes
Repository Maintenance
Patching and Offline Sharing
Tips and Tricks
Git Providers, Integrations, and Clients
Navigating Git
Configuration
Branching, Merging, and Options
Rebasing Regularly and Interactively, and Other Use Cases
Storing Additional Information in Your Repository
Extracting Data from the Repository
Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts
Recovering from Mistakes
Repository Maintenance
Patching and Offline Sharing
Tips and Tricks
Git Providers, Integrations, and Clients