Useful Git config
Here are some useful configuration option for Git (thanks to Nathan and Simon for the tips.):
git config --global color.ui true # Colours for git status and git diff git config --global alias.st "status" # Make git st work as git status git config --global color.diff auto # Try to use colours on git diff git config --global color.status auto # Try to use colours on git status git config --global color.branch auto # Try to use colours on git branch
Also, using git config –global core.excludesfile ~/.gitignore and then editing a ~/.gitignore with the files that should be ignored will make all files ignore those files (easily to ignore *.pyc and *.sw?)
