-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
57 lines (57 loc) · 1.45 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
[user]
name = Max Kagamine
email = max@kgmn.jp
signingKey = BAFB1EA9420D0109F91943F933BCD7C80AC41AFA
[core]
autocrlf = input
excludesFile = ~/.config/git/ignore
whitespace = trailing-space,tab-in-indent
[alias]
alias = "!f() { git config --global alias.\"$@\"; }; f"
changelog = log --pretty='format:- %s' --reverse --no-show-signature
lr = log --oneline --decorate --left-right --no-show-signature
msg = log --format=%s -n1 --no-show-signature
ns = "!f() { git diff --name-status \"${1:-HEAD^..}\"; }; f"
nuke = !git reset --hard && git clean -fdx -e _stuff/ -e .vagrant/
puush = !git push -u origin \"$(git symbolic-ref --short HEAD)\"
recommit = commit -C ORIG_HEAD
remas = pull origin master
uncommit = reset --soft HEAD~
whoami = !printf '%s <%s>\\n' \"$(git config user.name)\" \"$(git config user.email)\"
[advice]
statusHints = false
[color]
ui = auto
[commit]
gpgSign = true
[diff]
tool = code
[diff "json"]
textconv = python -m json.tool --indent 2 --no-ensure-ascii
[difftool "code"]
cmd = code --diff --wait $LOCAL $REMOTE
[fetch]
prune = true
[init]
defaultBranch = master
[log]
showSignature = true
[merge]
tool = code
[mergetool]
keepBackup = false
keepTemporaries = false
prompt = false
[mergetool "code"]
cmd = code --wait $MERGED
[pull]
rebase = true
[push]
default = simple
[rebase]
autoStash = true
autoSquash = true
[stash]
showIncludeUntracked = true
showStat = false
showPatch = true