-
Notifications
You must be signed in to change notification settings - Fork 4
/
dotgitconfig
113 lines (113 loc) · 2.79 KB
/
dotgitconfig
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
113
[user]
name = Nanda Kishore
email = [email protected]
signingkey = D14C3A041A952F9A
[apply]
whitespace = warn
[alias]
st = status
ci = commit -S
amd = commit -S --amend
uncommit = reset HEAD^
co = checkout
br = branch
pick = add -p
pl = pull --verbose
lg = log --graph --date=human --date-order --abbrev=8
lt = log --graph --date=human --topo-order --abbrev=8
pur = pull --rebase --autostash
prom = pull --rebase --autostash origin master
prop = pull --rebase --autostash origin prodstable
rc = rebase --continue
ra = rebase --abort
pom = push origin master
pop = push origin prodstable
what = whatchanged -p
df = diff --color-words
di = diff --color-words --ignore-space-change
dt = difftool
staged = diff --cached
unstage = restore --staged
credits = shortlog -sn --no-merges
changelog = log --pretty=oneline --abbrev-commit --graph
rlog = reflog --pretty=reflog
cherry = cherry-pick
throw = checkout -p
dis = checkout -p
goback = reset --hard
ignore = update-index --assume-unchanged
unignore = update-index --no-assume-unchanged
last = log -1 --pretty=last
ann = blame
his = log --graph --date=human --date-order --
[blame]
date=human
[color]
branch = auto
diff = auto
interactive = auto
ui = always
pager = true
# [color "status"]
# untracked = black
# changed = red
# added = green
[format]
# pretty="%Cgreen%h %Cred%ar %C(yellow)%d %Creset%s %Cblue<%an> %Cred(%ad)"
pretty="%Cgreen%h %Cred%ar(%ad) %Cblue<%an> %C(red)(%G?) %C(yellow)%d %Creset%s"
[pretty]
reflog="%Cgreen%h %Cred%ar(%ad) %Cblue<%an> %C(red)(%G?) %C(yellow)%d %Creset%s"
last="%h : %s"
[core]
# editor = code --wait
autocrlf = input
pager = less -FRSX
whitespace = warn
safecrlf = warn
fileMode = false
[diff]
mnemonicprefix = true
noprefix = false
renames = copies
tool = default-difftool
indentHeuristic = true
interHunkContext = 0
context = 0
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
stat = true
verbosity = 1
summary = true
log = true
; conflictstyle = diff3
strategy = patience
[url "[email protected]:"]
insteadOf = https://github.com/
[url "[email protected]:none-da/"]
insteadOf = none-da:
[http]
sslverify = false
[push]
default = simple
[rebase]
stat = true
autoStash = true
missingCommitsCheck = warn
[difftool]
prompt = false
[commit]
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
ff = only
[init]
defaultBranch = main
[help]
autoCorrect = prompt