-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy path.gitconfig
112 lines (94 loc) · 2.28 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[user]
email = [email protected]
name = aereal
[gui]
encoding = utf-8
[github]
user = aereal
[alias]
abort-rebase = rebase --abort
branch-name = name-rev --name-only
ci = commit -v
co = checkout
continue-rebase = rebase --continue
cp = cherry-pick
df = diff
ds = diff --staged
fdf = diff --function-context
fetch-pulls = fetch origin +refs/pull/*:refs/remotes/pull/*
fix = commit --amend
gr = grep
interactive-rebase = rebase --interactive
network = log --graph --all --decorate --oneline
onelog = log --oneline
squashed-merge = merge --squash
st = status --branch --short --untracked-files=normal --ignore-submodules=dirty
ls = ls-files
delete-branch = branch -d
current-branch = symbolic-ref --short HEAD
curret-remote-branch = rev-parse --abbrev-ref --symbolic-full-name @{u}
hard-revert-merge-commit = reset --hard ORIG_HEAD
medetai = !git rev-list HEAD | rg -P '(.)\\1\\1'
pr = pull-request
recently-added = log --grep \"Revert\" --invert-grep --diff-filter=A --format=\"\" --name-only
[color]
branch = true
diff = true
grep = true
interactive = true
pager = true
status = true
[color "branch"]
current = green reverse
local = green
remote = yellow
[color "status"]
changed = green
untracked = cyan
updated = yellow
[i18n]
commitencoding= utf-8
[core]
quotepath = false
whitespace = cr-at-eol
pager = $PAGER
precomposeunicode = true
excludesfile = ~/.global.gitignore
[push]
default = simple
autoSetupRemote = true
[branch]
autosetuprebase = always
[grep]
lineNumber = true
patternType = perl
[rebase]
stat = true
[diff "gzip"]
textconv = gzcat
[log]
date = iso
[merge]
stat = true
[interactive]
singlekey = true
[ghq]
root = /Users/aereal/devel/src
[diff]
algorithm = histogram
[include]
path = ~/.secret.gitconfig
[advice]
statusHints = false
[pager]
log = git-diff-highlight | less
show = git-diff-highlight | less
diff = git-diff-highlight | less
grep = false
[url "[email protected]:"]
pushInsteadOf = https://github.com/
pushInsteadOf = git://github.com/
[pull]
rebase = true
[init]
defaultBranch = main