Book description
This pocket guide is the perfect on-the-job companion to Git, the distributed version control system. It provides a compact, readable introduction to Git for new users, as well as a reference to common commands and procedures for those of you with Git experience.
Written for Git version 1.8.2, this handy task-oriented guide is organized around the basic version control functions you need, such as making commits, fixing mistakes, merging, and searching history.
- Examine the state of your project at earlier points in time
- Learn the basics of creating and making changes to a repository
- Create branches so many people can work on a project simultaneously
- Merge branches and reconcile the changes among them
- Clone an existing repository and share changes with push/pull commands
- Examine and change your repositoryâ??s commit history
- Access remote repositories, using different network protocols
- Get recipes for accomplishing a variety of common tasks
Publisher resources
Table of contents
- Preface
- 1. Understanding Git
- 2. Getting Started
- 3. Making Commits
- 4. Undoing and Editing Commits
- 5. Branching
- 6. Tracking Other Repositories
- 7. Merging
- 8. Naming Commits
-
9. Viewing History
- Command Format
- Output Formats
- Defining Your Own Formats
- Limiting Commits to Be Shown
- Regular Expressions
- Reflog
- Decoration
- Date Style
- Listing Changed Files
- Showing and Following Renames or Copies
- Rewriting Names and Addresses: The “mailmap”
- Searching for Changes: The “pickaxe”
- Showing Diffs
- Comparing Branches
- Showing Notes
- Commit Ordering
- History Simplification
- Related Commands
- 10. Editing History
- 11. Understanding Patches
- 12. Remote Access
- 13. Miscellaneous
-
14. How Do I…?
- …Make and Use a Central Repository?
- …Fix the Last Commit I Made?
- …Edit the Previous n Commits?
- …Undo My Last n Commits?
- …Reuse the Message from an Existing Commit?
- …Reapply an Existing Commit from Another Branch?
- …List Files with Conflicts when Merging?
- …Get a Summary of My Branches?
- …Get a Summary of My Working Tree and Index State?
- …Stage All the Current Changes to My Working Files?
- …Show the Changes to My Working Files?
- …Save and Restore My Working Tree and Index Changes?
- …Add a Downstream Branch Without Checking It Out?
- …List the Files in a Specific Commit?
- …Show the Changes Made by a Commit?
- …Get Tab Completion of Branch Names, Tags, and So On?
- …List All Remotes?
- …Change the URL for a Remote?
- …Remove Old Remote-Tracking Branches?
- …Have git log:
- Index
- About the Author
- Copyright
Product information
- Title: Git Pocket Guide
- Author(s):
- Release date: July 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449325862
You might also like
book
Git Essentials - Second Edition
Dive and explore into the latest addons of the latest Git. About This Book Master all …
book
Git for Teams
You can do more with Git than just build software. This practical guide delivers a unique …
book
Version Control with Git, 2nd Edition
Get up to speed on Git for tracking, branching, merging, and managing code revisions. Through a …
book
Professional Git
Leverage the power of Git to smooth out the development cycle Professional Git takes a professional …