Pro Git

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Scott Chacon; Ben Straub
Year: 2023

Language: English

Pro Git
Table of Contents
License
Preface by Scott Chacon
Preface by Ben Straub
Dedications
Contributors
Introduction
Getting Started
About Version Control
A Short History of Git
What is Git?
The Command Line
Installing Git
First-Time Git Setup
Getting Help
Summary
Git Basics
Getting a Git Repository
Recording Changes to the Repository
Viewing the Commit History
Undoing Things
Working with Remotes
Tagging
Git Aliases
Summary
Git Branching
Branches in a Nutshell
Basic Branching and Merging
Branch Management
Branching Workflows
Remote Branches
Rebasing
Summary
Git on the Server
The Protocols
Getting Git on a Server
Generating Your SSH Public Key
Setting Up the Server
Git Daemon
Smart HTTP
GitWeb
GitLab
Third Party Hosted Options
Summary
Distributed Git
Distributed Workflows
Contributing to a Project
Maintaining a Project
Summary
GitHub
Account Setup and Configuration
Contributing to a Project
Maintaining a Project
Managing an organization
Scripting GitHub
Summary
Git Tools
Revision Selection
Interactive Staging
Stashing and Cleaning
Signing Your Work
Searching
Rewriting History
Reset Demystified
Advanced Merging
Rerere
Debugging with Git
Submodules
Bundling
Replace
Credential Storage
Summary
Customizing Git
Git Configuration
Git Attributes
Git Hooks
An Example Git-Enforced Policy
Summary
Git and Other Systems
Git as a Client
Migrating to Git
Summary
Git Internals
Plumbing and Porcelain
Git Objects
Git References
Packfiles
The Refspec
Transfer Protocols
Maintenance and Data Recovery
Environment Variables
Summary
Appendix A: Git in Other Environments
Graphical Interfaces
Git in Visual Studio
Git in Visual Studio Code
Git in IntelliJ / PyCharm / WebStorm / PhpStorm / RubyMine
Git in Sublime Text
Git in Bash
Git in Zsh
Git in PowerShell
Summary
Appendix B: Embedding Git in your Applications
Command-line Git
Libgit2
JGit
go-git
Dulwich
Appendix C: Git Commands
Setup and Config
Getting and Creating Projects
Basic Snapshotting
Branching and Merging
Sharing and Updating Projects
Inspection and Comparison
Debugging
Patching
Email
External Systems
Administration
Plumbing Commands
Index