I installed Git on Ubuntu 12.04 using apt-get, but it failed to configure all the nice little shortcuts and color schemes I've gotten used to in OSX. Here are some useful git configs I just can't seem to do without. You can edit your .gitconfig or run these commands directly in your terminal:
Status/Diff Colors
git config --global color.status auto git config --global color.diff auto git config --global color.branch auto
git config --global alias.br branch git config --global alias.co checkout git config --global alias.st status
git config --global user.name "Your Name Comes Here" git config --global user.email you@yourdomain.example.com
No comments:
Post a Comment