JulioBiason.Net

Old-school coder living in a 2.0 development world.

Archive for the ‘status’ tag

Useful Git config

without comments

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?)

Written by Julio Biason

May 22nd, 2008 at 7:35 pm

Posted in Code, Tech

Tagged with , , , ,