My Git User Config Cheat Sheet

Git

This is more for my notes but here is my Git User Config Cheatsheet for setting up a new computer with git.

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
git config --global push.default "tracking"
git config --global pack.threads "0"
git config --global core.autocrlf false
git config --global apply.whitespace nowarn
git config --global color.ui "auto"
git config --global core.excludesfile "C:.gitignore"
Mike Henke

Written by Mike Henke

Mike Henke (pronounced "hang-kee") is a full-stack developer with 25+ years of experience, evolving from ColdFusion to modern frontend frameworks, AI, and cloud technologies. Based in Omaha, he enjoys time with his wife and three children when not coding.