Appendix C. Commented Git configuration
In chapter 7, you learned about configuring Git for maximum productivity. I’ve been using Git as my main version control system for a pretty long time at this point, so I have my Git configuration well optimized.
This appendix includes my Git configuration files at the time of writing. They’re heavily commented to explain what they’re doing and why. The latest versions are always available in my dotfiles repository on GitHub: https://github.com/mikemcquaid/dotfiles
Listing C.1. ~/.gitconfig
[include] path = ~/.gitconfig-user [color] # Colour terminal command output when possible. ui = auto [gist] # Open GitHub Gist in browser after submission. browse = true [push] # Push to the set upstream branch being ...
Get Git in Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.