Skip to content

Instantly share code, notes, and snippets.

@tiagopog
Last active August 29, 2015 14:18
Show Gist options
  • Save tiagopog/206a08f838608e97b842 to your computer and use it in GitHub Desktop.
Save tiagopog/206a08f838608e97b842 to your computer and use it in GitHub Desktop.
Git config file.
[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
[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