aboutsummaryrefslogtreecommitdiffhomepage
path: root/gitconfig
blob: 65488190dd576b89eaf77645e32a25aefd3c09a1 (plain)
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
[user]
    email = typebrook@gmail.com
    name = Hsieh Chin Fan
    signingkey = D6E0FBF2ED83191843F83EE1ABE01EF36DD8C14A

[alias]
    reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2"
    stashstaged = !git stash --keep-index && \
                   git stash && \
                   git stash apply stash@{1} && \
                   git stash show -p | git apply -R && \
                   git stash drop stash@{1}
    swapprotocol = !swap-protocol.bash

[core]
    editor = vim
    pager =

[merge]
    tool = vimdiff

[pull]
    ff = only

[credential]
    helper = store