-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
93 lines (93 loc) · 2.12 KB
/
.gitconfig
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[user]
name = Hiroshi Kajisha
email = [email protected]
signingkey = 629E58FE01F044BE
; signingkey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJMKD9Dh6+kVSJ+euxKgd4PdZTmFl0BEAgf8OvlrDYEE"
[fetch]
prune = true
[merge]
ff = only
tool = vimdiff
[alias]
aa = add --all
ap = add --patch
br = branch
bra = branch -a
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
brd = branch -d
brm = branch --merged
ci = commit
ci = commit -v
co = checkout
dc = diff --cached -b -w
di = diff -b -w
gr = grep -n
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
lo = log --oneline --decorate --graph --branches --tags --remotes
lp = log -p
ls = ls-files
lsd = ls-files --delete
pf = push --force-with-lease
pr = browse-remote --pr
re = restore
st = status --short
sw = switch
todo = grep -nw -E 'TODO|XXX|FIXME|BUG'
wa = worktree add
wl = worktree list
wrm = worktree remove
[core]
autocrlf = input
excludesfile = ~/.gitignore
quotepath = false
pager = bat
[color]
ui = true
[pager]
log = bat
show = bat
diff = bat
[ghq]
root = ~/workspace/src
[url "[email protected]:"]
pushinsteadof = https://github.com/
[rerere]
enabled = true
[gpg]
program = gpg
; format = ssh
[push]
default = current
[tag]
gpgsign = true
[commit]
template = ~/.gitmessage
gpgsign = true
[rebase]
autosquash = true
[tig "bind"]
diff = F ?!git commit --fixup %(commit)
diff = S ?!git commit --squash %(commit)
main = F ?!git commit --fixup %(commit)
main = S ?!git commit --squash %(commit)
[log]
showSignature = true
[branch]
sort = -authordate
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[web]
browser = xdg-open
[credential]
helper = /usr/bin/git-credential-manager
[pull]
rebase = merges
[remote "origin"]
prune = true
[init]
defaultBranch = main
[gpg "ssh"]
allowedSignersFile = /home/hiroshi/.ssh/allowed_signers