Git : fichier de configuration basique

Boris HUISGEN
$ vim ~/.gitconfig
[user]
    name = <USERNAME>
    email = <EMAIL>
[color]
        branch = auto
        diff = auto
        status = auto
[alias]
    s = status --short
    d = diff
    dw = diff --word-diff
    l = log -1
    l1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
    l2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
[push]
    default = simple
[pull]
    rebase = true
[core]
    excludesfile = ~/.gitignore