Skip to content

Instantly share code, notes, and snippets.

@hoanghuynh
Created May 26, 2015 17:49
Show Gist options
  • Save hoanghuynh/341fd50d638154ea6fdd to your computer and use it in GitHub Desktop.
Save hoanghuynh/341fd50d638154ea6fdd to your computer and use it in GitHub Desktop.
gitconfig
[user]
name = Hoang Huynh
email =
[branch]
autosetupmerge = true
[core]
editor = vim
excludesfile = /Users/hoang/.gitignore
[color]
ui = always
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[difftool]
prompt = false
[alias]
vdiff = difftool
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
co = checkout
[diff]
tool = vimdiff
[difftool "sourcetree"]
cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge --nosplash \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
trustExitCode = true
[push]
default = matching
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Temporary files #
###################
*.swp
*.swo
*~
# Packages #
############
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment