Skip to content

Instantly share code, notes, and snippets.

@marioy47
Last active August 29, 2015 13:55
Show Gist options
  • Save marioy47/8732409 to your computer and use it in GitHub Desktop.
Save marioy47/8732409 to your computer and use it in GitHub Desktop.
Configuración inicial de .gitconfig pero con mejoras a la visualización de **git status**, **git log**, etc
[user]
name = Mario Andrés Yepes C
email = [email protected]
[color]
branch = auto
diff = auto
interactive = auto
pager = true
status = auto
ui = true
[color "status"]
added = green
changed = yellow
untracked = red
[alias]
ci = commit
co = checkout
st = status
lg = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
[core]
excludesfile = /Users/Mario/.gitignore_global
autocrlf = input
pager = less -FRSX
[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
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment