-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
64 lines (58 loc) · 1.54 KB
/
config
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]
name = NISHIMURA Yoshitaka
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOst8/Mo2OcFQRvi94lNe8pjMxOUh4BiW+NO60+ez0cG
[alias]
# short
c = commit
co = checkout
cob= checkout HEAD@{1}
coo= checkout origin/HEAD
sw = switch
swo= switch -d origin/HEAD
# alias
cancel = reset --soft HEAD^
save = stash save
load = stash pop
pr = "!git push origin HEAD:refs/heads/$1 #"
unt = ls-files --others --exclude-standard
ign = ls-files --others --exclude-standard --ignored
# options
alias = !git config --get-regexp 'alias\\.' | sed 's/alias\\.\\([^ ]*\\) \\(.*\\)/\\1\\\t => \\2/' | sort
plog = log --pretty=format:'%C(yellow)%h %C(green)%cd %C(reset)%s %C(red)%d %C(cyan)[%an]' --date=format-local:'%t%Y/%m/%d %H:%M' --graph
deleted = log --diff-filter=D --summary
restoring = !git checkout $(git rev-list -n 1 HEAD -- "${1:-none}")~1 --
chash = rev-parse --short HEAD
[core]
# editor = vim +15 +startinsert
editor = vim +startinsert
autocrlf = false
filemode = false
# excludesfile = ~/.gitignore_global
quotepath = false
ignorecase = false
commentchar = ";"
[fetch]
prune = true
[help]
autocorrect = 1
[push]
default = current
[advice]
detachedHead = false
[commit]
gpgsign = true
# template = /home/raki/.dotfiles/git_commit_conventions.txt
[log]
follow = true
[init]
defaultBranch = main
[grep]
lineNumber = true
[diff]
compactionHeuristic = true
wsErrorHighlight = all
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = /home/raki/.config/git/allowed_signers