Skip to content

Instantly share code, notes, and snippets.

@guilhermegregio
Last active December 20, 2015 13:49
Show Gist options
  • Save guilhermegregio/6142004 to your computer and use it in GitHub Desktop.
Save guilhermegregio/6142004 to your computer and use it in GitHub Desktop.
Meu .gitconfig e .gitignore
[user]
email = guilherme@3gweb.com.br
name = Guilherme Mangabeira Gregio
[alias]
st = status
logger = log --pretty='%an realizou commit em %ad: %s' --graph
[color]
diff = auto
branch = auto
status = auto
log = auto
[core]
excludesfile = path/to/gitignore/default
[credential]
helper = osxkeychain
[diff]
tool = diffmerge
[difftool "diffmerge"]
cmd = diffmerge \"$LOCAL\" \"$REMOTE\"
[merge]
tool = diffmerge
[mergetool "diffmerge"]
cmd = "diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$(if test -f \"$BASE\"; then echo \"$BASE\"; else echo \"$LOCAL\"; fi)\" \"$REMOTE\""
trustExitCode = true
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment