-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig.linux
64 lines (64 loc) · 1.58 KB
/
.gitconfig.linux
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[user]
email = [email protected]
name = Shigenobu Nishikawa
signingkey = BFAC44BC9A039131
[color]
ui = auto
[alias]
co = checkout
st = status -sb
ci = commit -v
di = diff
br = branch
logs = log --graph --decorate --stat
logn = log --graph --decorate --name-status
graph = log --graph --oneline --decorate
ignore = update-index --assume-unchanged
not-ignore = update-index --no-assume-unchanged
ignored = !git ls-files -v | grep "^[[:lower:]]"
current-branch = "!sh -c \"git branch | grep '*' | awk '{ print \\$2 }' \""
push-for-review = "!sh -c 'git push origin HEAD:refs/for/master/`git current-branch`'"
[core]
excludesfile = ~/.gitignore
autocrlf = false
safecrlf = true
filemode = true
# pager = lv -c
pager = less --no-init --RAW-CONTROL-CHARS --quit-if-one-screen
# [pager]
# diff = delta
# log = delta
# reflog = delta
# show = delta
[commit]
gpgsign = true
[push]
default = current
autoSetupRemote = true
[help]
autocorrect = 1
[branch]
autosetuprebase = always
[credential]
helper = cache --timeout=2419200
# helper = /usr/lib/git-core/git-credential-libsecret
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[url "ssh://[email protected]/"]
insteadOf = https://git.heroku.com/
[github]
user = shishi
token = hogehoge
[heroku]
account = shishi
[magit]
hideCampaign = true
[ghq]
root = ~/dev/src
[pull]
autostash = true