[add] git configuration

This commit is contained in:
Max Bucknell 2014-10-18 20:39:10 +01:00
parent 5dd2c594b1
commit 2ddf2abd97
2 changed files with 50 additions and 0 deletions

32
git/gitconfig.symlink Normal file
View file

@ -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

18
git/gitignore.symlink Normal file
View file

@ -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