Mi Fichero de configuración de git
: ~/.gitconfig
[user]
email = blahbkah.blah.@gmail.com
name = Casiano Blah
[color]
status = auto
diff = auto
[merge]
tool = vimdiff
[alias]
lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr %an)%Creset' --abbrev-commit --date=relative
wipe = "!git reset --hard;git clean -fd"
co = checkout
ci = commit
lsb = ls-tree --name-only -r
[core]
excludesfile = /Users/casiano/.gitignore_global
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[credential]
helper = osxkeychain
[push]
default = simple
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[hub]
protocol = https
Mi fichero ~/.gitignore_global
.DS_Store
*.swp
*.swo
*.tar.gz
coverage