Skip to content

Instantly share code, notes, and snippets.

@delbetu
Created February 18, 2016 14:40
Show Gist options
  • Save delbetu/32799c76ad0e173f43d3 to your computer and use it in GitHub Desktop.
Save delbetu/32799c76ad0e173f43d3 to your computer and use it in GitHub Desktop.
Current git configuration
[user]
name = Marcos Bellucci
email = <[email protected]>
[color]
branch = auto
status = auto
ui = auto
[apply]
whitespace = nowarn
[push]
default = simple
[core]
editor = vim
excludesfile = ~/.gitignore
[diff]
tool = vimdiff
[difftool]
prompt = false
[init]
templatedir = ~/.git
[alias]
branch-clean = !sh -c 'git checkout master && git branch --merged | grep -v master | xargs -n 1 git branch -d'
ctags = !~/.git/hooks/ctags
logon = log --oneline -20
co = checkout
sw = switch
st = status
wip = commit -m 'WIP'
amend = commit --amend
amenda = "! git add -A . ; git commit --amend"
wipa = "! git add -A . ; git commit -m 'WIP'"
reseta = "! git reset HEAD~1"
[web]
browser = open
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment