Skip to content

Instantly share code, notes, and snippets.

@piroux
Created April 5, 2016 08:17
Show Gist options
  • Save piroux/43f2745282914857e803477b928c8ad9 to your computer and use it in GitHub Desktop.
Save piroux/43f2745282914857e803477b928c8ad9 to your computer and use it in GitHub Desktop.
[web]
browser = google-chrome
[user]
name = Pierre Roux
email = [email protected]
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
grep = auto
[core]
editor = vim
excludesfile = ~/.gitignore_global
[merge]
tool = vimdiff
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
sd = ! "git status; echo; echo; git diff"
lod = log --graph --decorate
lsd = log --graph --decorate --pretty=oneline --abbrev-commit --all
lsdd = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lc = log ORIG_HEAD.. --stat --no-merges
ll = log --stat --abbrev-commit
one = show -s --pretty='format:%h (%s)'
rlog = !sh -c 'git log --color \"$@\"|fmt -s -w 79|less -FRSX' git-rlog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment