Git config

Config files located in
./.git/config
~/.gitconfig
/etc/gitconfig
Stuff I usually squeeze in there:
[core]
# Use under Windows:
autocrlf = true
# Use under *nix:
autocrlf = input
hideDotFiles = dotGitOnly
[alias]
ca = commit -a
nb = checkout -b
quicklog = log --pretty=format:\"%h %cr %cn %Cgreen%s%Creset\"
logdiff = log -p --stat
search = log --source --all -p --decorate=full -G
I also put the following in ./.gitattributes, which go into the repo:
* text=auto