Git is powerful in many ways. One of the most powerful features of Git is that it has immutable history. This is powerful because nobody can squeeze something into the history of Git without it being noticed by the people who have cloned the repository. This also causes some challenges for developers as some developers would like to change the commit messages after a commit has been released. This is a feature that is possible in many other version control systems but because of the immutable history with Git, it has Git notes, which is essentially an extra refs/notes/commits
reference in Git. Here, you add additional information to the commits that can be listed when running a git log
command. You can also release the notes into a remote repository so that people can fetch the notes.
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