From 2ddf2abd9732e576acafacfff5c95c99cc7edb2d Mon Sep 17 00:00:00 2001 From: Max Bucknell Date: Sat, 18 Oct 2014 20:39:10 +0100 Subject: [PATCH] [add] git configuration --- git/gitconfig.symlink | 32 ++++++++++++++++++++++++++++++++ git/gitignore.symlink | 18 ++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 git/gitconfig.symlink create mode 100644 git/gitignore.symlink diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink new file mode 100644 index 0000000..ac20a0d --- /dev/null +++ b/git/gitconfig.symlink @@ -0,0 +1,32 @@ +[core] + excludesfile = ~/.gitignore + editor = vim + +[user] + name = Max Bucknell + email = me@maxbucknell.com + +[alias] + dc = diff --cached + di = diff + amend = commit --amend + aa = add --all + ff = merge --ff-only + noff = merge --no-ff + pf = pull --ff-only + fa = fetch --all + st = status + ci = commit --verbose + co = checkout + current-branch = rev-parse --abbrev-ref HEAD + cl = clone + +[color] + ui = auto + +[help] + autocorrect = 1 + +[push] + default = simple + diff --git a/git/gitignore.symlink b/git/gitignore.symlink new file mode 100644 index 0000000..9ffc366 --- /dev/null +++ b/git/gitignore.symlink @@ -0,0 +1,18 @@ +# Automatically created by GitHub for Mac + +.DS_Store +.AppleDouble +.LSOverride + +# Icon must ends with two \r. +Icon + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Vim Stuff +*.swp