#307 Pro Git
About Pro Git - the essential guide for mastering Git by Scott Chacon and Ben Straub.
Notes
Pro Git provides an in-depth guide into Git, the powerful distributed version control system. This resource, available both in print and as a free online edition, covers everything from basic commands to advanced techniques, making it suitable for both beginners and experienced developers. Pro Git explains core concepts like branching, merging, and collaboration workflows, helping readers understand Git’s flexibility and power in managing project versions, collaborating on code, and tracking changes over time. With practical examples and clear explanations, it’s an essential guide for mastering Git.
It is is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license. Web and e-book versions are available online.
Print versions are available for purchase on amazon.
Contents
- 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
- External Systems
- Administration
- Plumbing Commands