Skip to Content
Git in Practice
book

Git in Practice

by Mike McQuaid
September 2014
Intermediate to advanced
272 pages
8h 27m
English
Manning Publications
Content preview from Git in Practice

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Git for Teams

Git for Teams

Emma Jane Hogbin Westby
Git Pocket Guide

Git Pocket Guide

Richard E. Silverman
Git: Mastering Version Control

Git: Mastering Version Control

Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski

Publisher Resources

ISBN: 9781617291975Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link