Skip to content

Instantly share code, notes, and snippets.

@tiagopog
Last active August 29, 2015 14:14
Show Gist options
  • Save tiagopog/99d0b916b699b2d743d2 to your computer and use it in GitHub Desktop.
Save tiagopog/99d0b916b699b2d743d2 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
email = [email protected]
name = Tiago Guedes
[alias]
co = checkout
lg = log --all --graph --decorate --oneline --abbrev-commit
cm = commit
ac = !git add -A && git commit
st = status -sb
tags = tag -l
branches = branch -a
remotes = remote -v
d = diff
dt = difftool
push-release = !git checkout production && git push && git checkout master && git push && git push --tags
[commit]
template= ~/.gitmessage
[push]
default = simple
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[core]
editor = /usr/bin/vim
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[difftool]
prompt = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment