-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
119 lines (113 loc) · 2.35 KB
/
.gitconfig
File metadata and controls
119 lines (113 loc) · 2.35 KB
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
114
115
116
117
118
119
[user]
email = kepler1729@gmail.com
name = djsavvy
[core]
editor = nvim
[color]
ui = auto
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
tlg = lg
ls-all = ls-tree -r HEAD
check-whitespace = !git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
pul = pull
upl = pull
upll = pull
ull = pull
tpul = pull
pus = push
tpush = push
psuh = push
pf = push --force
puo = "!git push -u origin $(git branch --show-current)"
checout = checkout
c = checkout
cp = cherry-pick
r = rebase
ri = rebase -i
d = diff
ds = diff --staged
a = add
ap = add -p
cm = commit -m
stat = status
ca = commit --amend
cam = commit --amend
s = stash
ssp = stash show -p --ext-diff
sd = stash drop
sp = show -p --ext-diff
f = fetch
rh = reset --hard
# Will likely have to add --force afterwards for it to work but I don't want to add that in the alias itself
prune-local-branches = !npx git-removed-branches --prune
[pull]
rebase = true
; ff = only
[push]
default = current
[core]
autoclrf = input
excludesfile = /Users/savvy/.gitignore_global
[merge]
conflictstyle = zdiff3
[fetch]
prune = true
[diff]
algorithm = histogram
colorMoved = zebra
submodule = log
[submodule]
recurse = true
[rebase]
autosquash = true
autostash = true
[commit]
verbose = true
[rerere]
enabled = true
[help]
autocorrect = 10
[status]
submoduleSummary = true
[branch]
sort = committerdate
[tag]
sort = taggerdate
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
; difftastic
# [diff]
# tool = difftastic
# external = difft
# [difftool]
# prompt = false
# [difftool "difftastic"]
# cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[alias]
dft = difftool
; delta pager
;[core]
; pager = delta
;[interactive]
; diffFilter = delta --color-only
; avoid some data corruption early
[transfer]
fsckObjects=true
[fetch]
fsckObjects=true
[receive]
fsckObjects=true
[init]
defaultBranch = main
[credential "https://app-explor-wus-dev.scm.azurewebsites.net"]
provider = generic
; for work, turn the following off:
; at home it makes ssh auth work by default
[url "ssh://git@github.com/"]
insteadOf = https://github.com/