Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Git Version Control Cookbook

You're reading from   Git Version Control Cookbook Leverage version control to transform your development workflow and boost productivity

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher
ISBN-13 9781789137545
Length 354 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (4):
Arrow left icon
Kenneth Geisshirt Kenneth Geisshirt
Author Profile Icon Kenneth Geisshirt
Kenneth Geisshirt
 Zattin(EUR) Zattin(EUR)
Author Profile Icon Zattin(EUR)
Zattin(EUR)
 Olsson Olsson
Author Profile Icon Olsson
Olsson
 Voss Voss
Author Profile Icon Voss
Voss
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Navigating Git FREE CHAPTER 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 1. Other Books You May Enjoy Index

Index

A

  • aliases
    • creating / More aliases, How to do it...
  • archives
    • creating, from tree / Creating archives from a tree, There's more...
  • autocompletion
    • of Git commands / Autocompletion
    • for Linux features / Linux
    • for Mac users / Mac
    • for Window users / Windows
    • enabling / How to do it...
  • automatic garbage collection
    • turning off / Turning off automatic garbage collection, How to do it...

B

  • bisect
    • used, for debugging / How to do it...
  • blame command
    • using / Using the blame command, There's more...
  • bottleneck
    • finding, in source tree / Finding bottlenecks in the source tree, How to do it..., There's more...
  • branch description
    • using, in commit message / Using a branch description in a commit message, How to do it...
  • branches
    • differentiating between / Compute the difference between branches, How to do it...
    • patches, creating from / Creating patches from branches, How it works...

C

  • commit message
    • grepping / How to do it...
    • branch description, using / Using a branch description in a commit message
    • branch message, using / How to do it...
    • external information, using / Using external information in a commit message, How to do it...
  • commit messages
    • grepping / Grepping the commit messages, How to do it...
  • commits
    • creating, stages / The three stages, How to do it..., How it works..., See also
    • finding, in history / Finding commits in the history
    • history, finding / How it works...
    • rebasing, to another branch / Rebasing commits to another branch, How it works...
    • squashing, with interactive rebase / Squashing commits using an interactive rebase, How to do it..., There's more...
    • author, changing with rebase / Changing the author of commits using a rebase, How it works...
    • auto-squashing / Autosquashing commits, How to do it...
    • tagging, in repository / Tagging commits in the repository, There's more...
    • removing completely / Undo – Remove a commit completely, How it works...
    • changes to files, retaining / Undo – Remove a commit and retain changes to files, How it works...
    • changes in staging area, retaining / Undo – Remove a commit and retain changes in the staging area, How it works...
    • changes, reverting / Revert – Undo the changes introduced by a commit, There's more...
  • commit template
    • setting up / Setting up and using a commit template
  • configuration examples
    • about / A few configuration examples
    • rebase and merge setup / Rebase and merge setup
    • expiry of objects / Expiry of objects
    • autocorrect / Autocorrect
    • working / How it works...
  • configuration targets
    • viewing / Configuration targets
  • continuous integration (CI) / Introduction

D

  • DAG
    • viewing / Viewing the DAG, Getting ready, How to do it..., How it works...
  • dirty area
    • working with / Undo – Working with a dirty area, How it works...
  • dynamic commit message template
    • creating / Creating a dynamic commit message template, How to do it..., There's more...

E

  • existing configuration
    • querying / Querying the existing configuration, There's more...

F

  • files
    • ignoring / Ignoring files, There's more...
  • fixed issues
    • extracting / Extracting fixed issues, How it works...

G

  • .git directory template
    • creating / A .git directory template, How to do it...
    • working / How it works...
  • garbage collection
    • manual execution / Running garbage collection manually, How to do it..., How it works...
  • Git aliases
    • about / Git aliases
    • creating / How to do it..., How it works...
    • using / Configuring and using Git aliases, How to do it..., How it works...
    • configuring / Configuring and using Git aliases, How to do it..., How it works...
  • git bisect
    • used, for debugging / Debugging with git bisect
  • Git bundles
    • creating / Creating Git bundles, How it works...
    • using / Using a Git bundle, There's more...
  • Git conflicts
    • merging, git reuse recorded resolution (rerere) used / Using git reuse recorded resolution (rerere) to merge Git conflicts, How to do it...
  • git fsck
    • used, for tracking lost changes / Finding lost changes with git fsck, How to do it...
  • Git gui
    • using, with interactive add / Interactive add with Git gui, How to do it...
  • GitHub
    • organization, setting up / Setting up an organization at GitHub, How to do it..., How it works...
    • repository, creating / Creating a repository at GitHub, How to do it..., How it works..., There's more...
    • used, for authentication at Jenkins / Using GitHub to authenticate at Jenkins, Getting ready, How to do it..., There's more...
  • GitHub API key
    • creating / Creating a GitHub API key, How to do it..., How it works...
  • GitHub Branch Source plugin
    • about / Triggering Jenkins builds
    • documentation, reference / See also
  • GitHub OAuth Plugin
    • documentation, reference / See also
  • GitHub organization
    • reference / See also
  • gitk
    • used, for viewing history / Viewing the history with gitk, How it works...
  • Git note
    • adding / Adding your first Git note, How to do it..., There's more...
  • git reflog
    • used, for viewing past Git actions / Viewing past Git actions with git reflog, How it works...
  • git reuse recorded resolution (rerere)
    • used, for merging Git conflicts / Using git reuse recorded resolution (rerere) to merge Git conflicts, How to do it..., There's more...
  • Git scripts
    • configuring / Configuring and using Git scripts
    • using / Configuring and using Git scripts
  • git stash command
    • using / Using git stash, How to do it...
    • working / How it works..., There's more...

H

  • history
    • viewing, with gtik / Viewing the history with gitk, How it works...
    • commits, finding / Finding commits in the history
  • history code
    • searching through / Searching through the history code, There's more...

I

  • ignored files
    • displaying / Showing and cleaning ignored files
    • cleaning / Showing and cleaning ignored files
  • interactive add
    • using / Interactive add, How to do it..., There's more...
    • using, with Git Gui / Interactive add with Git gui, How to do it...

J

  • Java Development Kit (JDK) / How it works...
  • Jenkins
    • GitHub, used for authentication / Using GitHub to authenticate at Jenkins, Getting ready, How to do it..., There's more...
  • Jenkins builds
    • triggering / Triggering Jenkins builds, How to do it...
  • Jenkinsfiles
    • using / Using Jenkinsfiles, How it works...
    • reference / See also

L

  • latest commit
    • recreating, with new changes / Redo – Recreate the latest commit with new changes, How to do it..., There's more...
  • layers
    • configuring / Configuration targets, How to do it..., How it works...
  • list, of changed files
    • obtaining / Getting a list of the changed files, There's more...
  • local branches
    • managing / Managing your local branches, How it works..., There's more...

M

  • Mail User Agent (MUA) / How it works...
  • Markdown / Getting ready
  • merge
    • reverting / Reverting a merge, How to do it...
    • reverting, reference / See also
  • merge commit
    • forcing / Forcing a merge commit, There's more...
  • Msysgit installation / Windows

N

  • non-zero status / There's more...
  • notes
    • separating, by category / Separating notes by category, How to do it..., How it works...
    • retrieving, from remote repository / Retrieving notes from the remote repository, How to do it..., How it works...
    • pushing, to remote repository / Pushing Git notes to a remote repository, There's more...

O

  • objects, Git
    • about / Git's objects
    • navigating / Getting ready
    • commit object / The commit object
    • tree object / The tree object
    • blob object / The blob object
    • branch object / The branch object
    • tag object / The tag object
    • working / How it works...
  • orphan branches
    • about / Orphan branches
    • creating / Getting ready, How to do it...

P

  • past Git actions
    • viewing, with git reflog / Viewing past Git actions with git reflog, How it works...
  • patches
    • creating / Creating patches, How to do it...
    • working / There's more...
    • creating, from branches / Creating patches from branches, There's more...
    • applying / Applying patches, There's more...
    • sending / Sending patches, There's more...
    • reference / Sending patches
  • prompt display status information
    • enabling / Bash prompt with status information, How it works..., There's more...
  • pull requests / Introduction
  • push, specific commits
    • preventing / Preventing the push of specific commits, How to do it..., There's more...
  • PyGitHub documentation
    • reference / See also

R

  • rebase
    • used, for changing author of commit / Changing the author of commits using a rebase, How it works...
  • rebase, with merge conflicts
    • continuing / Continuing a rebase with merge conflicts, How to do it...
  • refspec exemplified
    • about / The refspec exemplified
    • repository, setting up / How to do it...
    • working / How it works...
  • release note
    • generating / The contents of the releases, How it works...
  • remote branches
    • pruning / Pruning remote branches, How to do it..., There's more...
  • remote tracking branch
    • about / Branches with remotes
    • checking / Getting ready
    • commands / How to do it...
    • using / There's more...
  • repositories
    • backup, creating as mirror repositories / Creating a backup of your repositories as mirror repositories, How it works...
  • repository
    • commits, tagging / Tagging commits in the repository, There's more...
    • achieved contents, extracting / Finding what has been achieved in the repository in the last period, How it works...
    • splitting / Splitting a repository, How to do it..., How it works...
    • creating, at GitHub / Creating a repository at GitHub, How to do it..., How it works..., There's more...

S

  • selected commits
    • rebasing / Rebasing selected commits interactively, How to do it...
  • single file
    • modifying / Rewriting history – changing a single file, How it works...
  • source tree
    • bottleneck, finding / Finding bottlenecks in the source tree, How to do it..., There's more...
  • stashes
    • saving / Saving and applying stashes, There's more...
    • applying / Saving and applying stashes, There's more...
  • submodules
    • about / A quick "how-to" submodule
    • using / Getting ready, How to do it...
    • versus subtree merging / Submodule versus subtree merging
  • subtree merging
    • about / Subtree merging
    • using / How to do it...
    • working / How it works...
    • reference / See also

T

  • templates
    • creating / Templates, How to do it...
    • adding, for issues / Adding templates for issues and pull requests, How it works...
    • adding, for pull requests / Adding templates for issues and pull requests, How it works...
  • top contributor
    • extracting / Extracting the top contributor, How to do it..., There's more...
  • tree
    • archives, creating / Creating archives from a tree, There's more...

U

  • UI
    • coloring, in prompt / Coloring the UI in the prompt, There's more...
  • UNIX mailbox format / How to do it...

V

  • version control systems (VCSs) / Introduction

Z

  • zsh
    • reference / See also
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images