One more bit I consider critical in a proper git setup:
git config --global core.excludesfile '~/.gitignore'
# on a mac:
echo .DS_Store >> ~/.gitignore
# If you use vim
echo '.*.sw[po]' >> ~/.gitignore
# And any other files that should never be checked into git in ANY repo
One more bit I consider critical in a proper git setup:
Hi Daniel,
I wish I could give you a cookie, I forgot about global .gitignores myself.
I will add this in!
Thanks!
Hah, excellent!