Pro Git

Table of Contents

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