Skip to content

Instantly share code, notes, and snippets.

@olaurendeau
Created December 15, 2015 15:46
Show Gist options
  • Select an option

  • Save olaurendeau/bbd836c6c58ecde3e8ee to your computer and use it in GitHub Desktop.

Select an option

Save olaurendeau/bbd836c6c58ecde3e8ee to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Olivier Laurendeau
email = [email protected]
[core]
autocrlf = input
editor = vim
excludesfile = ~/.gitignore
[http]
sslVerify = false
[alias]
ci = commit
di = diff
sdi = diff --staged
st = status
sta = stash
br = branch
co = checkout
cp = cherry-pick
cat = cat-file -p
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset%s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
authors = shortlog -sn --no-merges
fetch = fetch -p
brd = !git branch --merged | grep -v master | xargs git branch -d
wip = !git add -A && git ci -m 'WIP'
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[push]
default = current
[diff]
wordRegex = .
[log]
abbrevCommit = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment