From 8c9b87d3e6b8efc6e1f5dd73d3c8c70c9df5fcc1 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 4 Nov 2012 11:25:29 -0800 Subject: [PATCH] Add gitconfig and gitignore files --- gitconfig | 26 ++++++++++++++++++++++++++ gitignore | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 gitconfig create mode 100644 gitignore diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..a356e0a --- /dev/null +++ b/gitconfig @@ -0,0 +1,26 @@ +[core] + editor = vim + excludesfile = ~/.gitignore +[color] + branch = auto + diff = auto + interactive = auto + status = auto + ui = auto +[user] + name = Buddy Sandidge + email = buddysandidge@gmail.com +[alias] + br = branch + ci = commit + co = checkout + df = diff + st = status + p = !git fetch --all && git fetch --tags && git pull && git submodule update + sup = submodule update + com = checkout master + file = show --pretty="format:" --name-only + glog = !git log --pretty=oneline | grep + dpull = !git svn fetch && git svn rebase + dcommit = svn dcommit + lg = log --graph --pretty=format:'%Cred%h%Creset %s%Cred%d%Creset %Cgreen(%cr by %cN)%Creset' diff --git a/gitignore b/gitignore new file mode 100644 index 0000000..a7ba011 --- /dev/null +++ b/gitignore @@ -0,0 +1,33 @@ +################################################################################ +## This global gitignore file is assembled based the github gitignore project: +## https://github.com/github/gitignore +################################################################################ + +# vim ignores +.*.sw[a-z] + +# OS X ignores +.DS_Store +.DS_Store? +.AppleDouble +.LSOverride +Icon + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Windows ignores +Thumbs.db +ehthumbs.db +Desktop.ini + +# Python ignores +*.py[cod] + +# Compass/sass ignores +.sass-cache +