Git version control cookbook leverage version control to transform your development workflow and boost productivity

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...

Full description

Bibliographic Details
Main Authors: Geisshirt, Kenneth, Olsson, Aske (Author), Voss, Rasmus (Author), Zattin, Emanuele (Author)
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2018
Edition:Second edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 13543nmm a2200517 u 4500
001 EB001922634
003 EBX01000000000000001085536
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781789136944 
050 4 |a QA76.758 
100 1 |a Geisshirt, Kenneth 
245 0 0 |a Git version control cookbook  |b leverage version control to transform your development workflow and boost productivity  |c Kenneth Geisshirt, Emanuele Zattin, Aske Olsson, Rasmus Voss 
250 |a Second edition 
260 |a Birmingham, UK  |b Packt Publishing  |c 2018 
300 |a 1 volume  |b illustrations 
505 0 |a Viewing past Git actions with git reflog -- Getting ready -- How to do it... -- How it works... -- Finding lost changes with git fsck -- Getting ready -- How to do it... -- How it works... -- Chapter 9: Repository Maintenance -- Introduction -- Pruning remote branches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Running garbage collection manually -- Getting ready -- How to do it... -- How it works... -- Turning off automatic garbage collection -- Getting ready -- How to do it... -- Splitting a repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Rewriting history -- changing a single file -- Getting ready -- How to do it... -- How it works... -- Creating a backup of your repositories as mirror repositories -- Getting ready -- How to do it... -- How it works... -- There's more... -- A quick "how-to" submodule -- Getting ready -- How to do it... -- There's more... -- Subtree merging -- Getting ready -- How to do it... -- How it works... -- See also -- Submodule versus subtree merging -- Chapter 10: Patching and Offline Sharing -- Introduction -- Creating patches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating patches from branches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Applying patches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Sending patches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating Git bundles -- Getting ready -- How to do it... -- How it works... -- Using a Git bundle -- Getting ready -- How to do it... -- There's more... -- Creating archives from a tree -- Getting ready -- How to do it... -- There's more... -- Chapter 11: Tips and Tricks -- Introduction -- Using git stash -- Getting ready -- How to do it... -- How it works 
505 0 |a Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Navigating Git -- Introduction -- Git's objects -- Getting ready -- How to do it... -- The commit object -- The tree object -- The blob object -- The branch object -- The tag object -- How it works... -- There's more... -- The three stages -- Getting ready -- How to do it... -- How it works... -- See also -- Viewing the DAG -- Getting ready -- How to do it... -- How it works... -- Extracting fixed issues -- Getting ready -- How to do it... -- How it works... -- There's more... -- Getting a list of the changed files -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Viewing the history with gitk -- Getting ready -- How to do it... -- How it works... -- There's more... -- Finding commits in the history -- Getting ready -- How to do it... -- How it works... -- There's more... -- Searching through the history code -- Getting ready -- How to do it... -- How it works... -- There's more... -- Chapter 2: Configuration -- Introduction -- Configuration targets -- Getting ready -- How to do it... -- How it works... -- There's more... -- Querying the existing configuration -- Getting ready -- How to do it... -- How it works... -- There's more... -- Templates -- Getting ready -- How to do it... -- How it works... -- A .git directory template -- Getting ready -- How to do it... -- How it works... -- See also -- A few configuration examples -- Getting ready -- How to do it... -- Rebase and merge setup -- Expiry of objects -- Autocorrect -- How it works... -- There's more... -- Git aliases -- Getting ready -- How to do it... -- How it works... -- There's more... -- The refspec exemplified -- Getting ready -- How to do it... -- How it works... -- Chapter 3: Branching, Merging, and Options -- Introduction 
505 0 |a Managing your local branches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Branches with remotes -- Getting ready -- How to do it... -- There's more... -- Forcing a merge commit -- Getting ready -- How to do it... -- There's more... -- Using git reuse recorded resolution (rerere) to merge Git conflicts -- How to do it... -- There's more... -- Compute the difference between branches -- Getting ready -- How to do it... -- Orphan branches -- Getting ready -- How to do it... -- There's more... -- Chapter 4: Rebasing Regularly and Interactively, and Other Use Cases -- Introduction -- Rebasing commits to another branch -- Getting ready -- How to do it... -- How it works... -- Continuing a rebase with merge conflicts -- How to do it... -- How it works... -- There's more... -- Rebasing selected commits interactively -- Getting ready -- How to do it... -- There's more... -- Squashing commits using an interactive rebase -- Getting ready -- How to do it... -- There's more... -- Changing the author of commits using a rebase -- Getting ready -- How to do it... -- How it works... -- Autosquashing commits -- Getting ready -- How to do it... -- There's more... -- Chapter 5: Storing Additional Information in Your Repository -- Introduction -- Adding your first Git note -- Getting ready -- How to do it... -- There's more... -- Separating notes by category -- Getting ready -- How to do it... -- How it works... -- Retrieving notes from the remote repository -- Getting ready -- How to do it... -- How it works... -- Pushing Git notes to a remote repository -- How to do it... -- There's more... -- Tagging commits in the repository -- Getting ready -- How to do it... -- There's more... -- Chapter 6: Extracting Data from the Repository -- Introduction -- Extracting the top contributor -- Getting ready -- How to do it... -- There's more 
505 0 |a There's more... -- Saving and applying stashes -- Getting ready -- How to do it... -- There's more... -- Debugging with git bisect -- Getting ready -- How to do it... -- There's more... -- Using the blame command -- Getting ready -- How to do it... -- There's more... -- Coloring the UI in the prompt -- Getting ready -- How to do it... -- There's more... -- Autocompletion -- Getting ready -- Linux -- Mac -- Windows -- How to do it... -- How it works... -- There's more... -- Bash prompt with status information -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- More aliases -- Getting ready -- How to do it... -- Interactive add -- Getting ready -- How to do it... -- There's more... -- Interactive add with Git gui -- Getting ready -- How to do it... -- Ignoring files -- Getting ready -- How to do it... -- There's more... -- See also -- Showing and cleaning ignored files -- Getting ready -- How to do it... -- There's more... -- Chapter 12: Git Providers, Integrations, and Clients -- Introduction -- Setting up an organization at GitHub -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating a repository at GitHub -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding templates for issues and pull requests -- Getting ready -- How to do it... -- How it works... -- Creating a GitHub API key -- Getting ready -- How to do it... -- How it works... -- See also -- Using GitHub to authenticate at Jenkins -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Triggering Jenkins builds -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using Jenkinsfiles -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Other Books You May Enjoy -- Index 
505 0 |a Finding bottlenecks in the source tree -- Getting ready -- How to do it... -- There's more... -- Grepping the commit messages -- Getting ready -- How to do it... -- The contents of the releases -- How to do it... -- How it works... -- Finding what has been achieved in the repository in the last period -- How to do it... -- How it works... -- There's more... -- Chapter 7: Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts -- Introduction -- Using a branch description in a commit message -- Getting ready -- How to do it... -- Creating a dynamic commit message template -- Getting ready -- How to do it... -- There's more... -- Using external information in a commit message -- Getting ready -- How to do it... -- Preventing the push of specific commits -- Getting ready -- How to do it... -- There's more... -- Configuring and using Git aliases -- How to do it... -- How it works... -- Configuring and using Git scripts -- How to do it... -- Setting up and using a commit template -- Getting ready -- How to do it... -- Chapter 8: Recovering from Mistakes -- Introduction -- Undo -- Remove a commit completely -- Getting ready -- How to do it... -- How it works... -- Undo -- Remove a commit and retain changes to files -- Getting ready -- How to do it... -- How it works... -- Undo -- Remove a commit and retain changes in the staging area -- Getting ready -- How to do it... -- How it works... -- Undo -- Working with a dirty area -- Getting ready -- How to do it... -- How it works... -- Redo -- Recreate the latest commit with new changes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Revert -- Undo the changes introduced by a commit -- Getting ready -- How to do it... -- How it works... -- There's more... -- Reverting a merge -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also 
653 |a Git (Computer file) / fast 
653 |a Génie logiciel 
653 |a Open source software / fast 
653 |a Open source software / http://id.loc.gov/authorities/subjects/sh99003437 
653 |a Logiciels libres 
653 |a Software engineering / http://id.loc.gov/authorities/subjects/sh87007398 
653 |a Software engineering / fast 
653 |a Git (Computer file) / http://id.loc.gov/authorities/names/n2013035657 
700 1 |a Olsson, Aske  |e author 
700 1 |a Voss, Rasmus  |e author 
700 1 |a Zattin, Emanuele  |e author 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
500 |a Previous edition published: 2014 
015 |a GBB8E1701 
776 |z 1789137543 
776 |z 9781789137545 
776 |z 9781789136944 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781789137545/?ar  |x Verlag  |3 Volltext 
082 0 |a 620 
082 0 |a 005.3 
520 |a 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 --  
520 |a 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. Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased t.. 
520 |a 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.