-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
63 lines (63 loc) · 1.42 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
[user]
name = Stefan Codrescu
email = ssmmcc1@gmail.com
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process required = true
[core]
# Prevent less from paging output if it would fit
pager = less -FRX
excludesFile = ~/.gitignore
[pull]
# use `git pull --rebase` or `git pull --no-ff` to override:
ff = only
[alias]
d = diff
dc = diff --cached
st = status
br = branch
brs = branch --sort=-committerdate
sw = switch
re = restore
res = restore --staged
rew = rewstore --worktree
resw = restore --staged --worktree
co = commit -v
coa = commit -v --amend
pom = pull origin main
poh = push origin HEAD
pfoh = push --force origin HEAD
git = !exec git # https://caiustheory.com/git-git-git-git-git/
[color]
diff = auto
status = always
branch = auto
interactive = auto
ui = true
pager = true
[pager]
status = true
[init]
defaultBranch = main
[diff]
tool = meld
[difftool]
prompt = false
[difftool "meld"]
cmd = meld "$LOCAL" "$REMOTE"
[merge]
tool = meld
[mergetool "meld"]
cmd = meld "$LOCAL" "$MERGED" "$REMOTE" --output "$MERGED"
[checkout]
defaultRemote = origin
[commit]
verbose = true
[core]
packedGitLimit = 512m
packedGitWindowSize = 512m
[pack]
deltaCacheSize = 2047m
packSizeLimit = 2047m
windowMemory = 2047m