Skip to content

Instantly share code, notes, and snippets.

@flavioribeiro
Created December 13, 2016 21:55
Show Gist options
  • Select an option

  • Save flavioribeiro/82ad47cbbc76a1ce4dccb15320626fd4 to your computer and use it in GitHub Desktop.

Select an option

Save flavioribeiro/82ad47cbbc76a1ce4dccb15320626fd4 to your computer and use it in GitHub Desktop.
[core]
editor = /usr/bin/vim
pager = diff-highlight | diff-so-fancy | less --tabs=1,5 -R
[alias]
cm = commit -m
st = status --short
co = checkout
logg = log --graph --color --decorate
loga = log --graph --color --pretty='format:%C(yellow)%h%C(cyan)%d %Creset %s %C(blue)%an, %ar' --date-order --all
logt = log --graph --color --pretty='format:%C(yellow)%h%C(cyan)%d %Creset %s %C(blue)%an, %ar' --date-order
last = cat-file commit HEAD
tags = log --tags --date-order --simplify-by-decoration --pretty='format:%ai %d'
[user]
name = Flávio Ribeiro
email = [email protected]
[color]
ui = true
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[diff]
noprefix = true
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment