Here is Mike Henke’s 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”
Totally stolen from Mike Henke’s post follow the link to give him some love.
This isn’t exactly how I remember doing it but it will serve as a decent starting point for me when I have to setup my next computer.