In this chapter, you will find some tips and tricks that can be useful in everyday Git work. From stashing away your changes when you get interrupted with an important task over efficient bug hunting with bisect
and blame
, to color and status information in your prompt. We'll also look at aliases, how you can create clean commits by selecting which lines should be included in the commit, and finally how you can ignore files.
Git Version Control Cookbook
Git Version Control Cookbook
Overview of this book
Table of Contents (19 chapters)
Git Version Control Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Navigating Git
Configuration
Branching, Merging, and Options
Rebase Regularly and Interactively, and Other Use Cases
Storing Additional Information in Your Repository
Extracting Data from the Repository
Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts
Recovering from Mistakes
Repository Maintenance
Patching and Offline Sharing
Git Plumbing and Attributes
Tips and Tricks
Index
Customer Reviews