[add] git configuration
This commit is contained in:
parent
5dd2c594b1
commit
2ddf2abd97
2 changed files with 50 additions and 0 deletions
32
git/gitconfig.symlink
Normal file
32
git/gitconfig.symlink
Normal 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
18
git/gitignore.symlink
Normal 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
|
Loading…
Add table
Reference in a new issue