-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig
47 lines (47 loc) · 1.19 KB
/
dot_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
[user]
email = [email protected]
name = tanaka
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPbVSFzP7Ie/Dk1+wtFlMG6HLq2srD/J257nnTwZgzkS
[init]
defaultBranch = main
[gpg]
format = ssh
[core]
editor = vim -c \"set fenc=utf-8\"
pager = delta --24-bit-color="always" --color-only --syntax-theme 'Solarized (dark)'
hooksPath = ~/repos/github.com/nakatanakatana/dotfiles/githooks/
[interactive]
diffFilter = delta --24-bit-color="always" --color-only --syntax-theme 'Solarized (dark)'
[alias]
noffmerge = merge --no-ff
logp = log -p --color
logc = log --pretty=format:\"[%h: %cd] (%an) %s\"
tree = log --graph --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset'
merged-branch = !sh -c 'git branch -vv | grep \"origin/.*: gone]\" | awk \"{print \\$1}\"'
delete-merged-branch = !sh -c 'git merged-branch | xargs git branch -d'
st = status
br = branch
[diff]
algorithm = histogram
[push]
default = current
[fetch]
prune = true
[pull]
prune = true
[merge]
ff = true
conflictstyle = diff3
[rebase]
autosquash = true
autostash = true
[commit]
gpgsign = true
[tag]
gpgsign = true
[ghq]
root = ~/repos
[credential]
helper = cache --timeout=86400
[web]
browser = open