PPaste!

Home - All the pastes - Authored by Thooms

Raw version

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[user]
    name = Thomas Papillon
    email = th.papillon@criteo.com

[url "git@github.com:"]
    insteadOf = "https://github.com/"

[core]
    editor = emacs -nw
    pager = less

[branch]
    autosetuprebase = always

[color]
    ui = always
[color "diff"]
    meta = yellow bold
    commit = green bold
    frag = magenta bold
    old = red bold
    new = green bold
    whitespace = red reverse
[color "diff-highlight"]
    oldNormal = red bold
    oldHighlight = "red bold 52"
    newNormal = "green bold"
    newHighlight = "green bold 22"
[color "branch"]
    current = yellow reverse
    local = yellow
    remote = green
[color "status"]
    added = yellow
    changed = green
    untracked = cyan

[alias]
    d = diff
    dc = diff --cached
    s = status
    co = checkout
    c = commit
    ca = !git commit --amend --date=\"$(date)\"
    l = log --graph --abbrev-commit --decorate --format=format:'%C(blue)%h%C(reset) %C(dim red)%an%C(reset) %C(green)(%ar)%C(reset) %C(white)%s%C(reset) %C(yellow)%d%C(reset)' --all
    head = ! git --no-pager log -n 20 --abbrev-commit --pretty=oneline --format=format:'%C(yellow)%h %Cblue%>(12)%ad %Cgreen%<(7)%aN%Cred%d %Creset%s' --date=short
    sh = show
    a = add
    review = push origin HEAD:refs/publish/master
    draft = push origin HEAD:refs/drafts/master