-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
78 lines (78 loc) · 2.2 KB
/
Copy pathgitconfig
File metadata and controls
78 lines (78 loc) · 2.2 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
[user]
name = Sami Samhuri
email = sami@samhuri.net
signingKey = ~/.ssh/id_ed25519
[branch]
autosetupmerge = simple
autosetuprebase = always
[core]
quotepath = false
whitespace = trailing-space,space-before-tab
excludesfile = ~/.gitignore
pager = less --tabs=4 -RFX
attributesfile = ~/.gitattributes
[transfer]
fsckobjects = true
[fetch]
prune = true
# transfer.fsckobjects above turns fsck on for fetches, and git 2.53 added a
# largePathname check that rejects an object in actions/cache's history. That
# leaves Forgejo Actions unable to fetch that action at all, on any tag, which
# is a confusing failure a long way from its cause. Ignore that one check;
# every other thing fsck catches still fails the fetch.
[fetch "fsck"]
largePathname = ignore
[pull]
ff = only
rebase = true
[push]
autosetupremote = true
[commit]
verbose = true
gpgsign = true
[diff]
algorithm = histogram
mnemonicprefix = true
renames = copies
compactionHeuristic = true
renameLimit = 5000
colorMoved = zebra
[alias]
# Escape hatch for scripts and agents: GIT_EXTERNAL_DIFF is exported by zshrc
# and inherited by anything launched from a shell, so this bypasses difftastic
# to get a patch that can actually be parsed or piped.
pd = diff --no-ext-diff
[advice]
statusHints = false
pushNonFastForward = false
[color]
ui = auto
[merge]
stat = true
[rebase]
autosquash = true
autostash = true
updateRefs = true
[credential]
helper = osxkeychain
[grep]
extendRegexp = true
lineNumber = true
[merge "mergepbx"]
name = XCode project files merger
driver = mergepbx %O %A %B
[submodule]
fetchJobs = 4
[init]
defaultBranch = main
[gpg]
format = ssh
[diff "swift"]
xfuncname = ^[ \t]*(((private |public |internal |final |open )*class|(private |public |internal )*struct|(private |public |internal )*actor|(private |public |internal )*func|(private |public |internal )*extension|(private |public |internal )*enum)[ \t].*)$
[credential "https://git.samhuri.net"]
helper =
helper = !tea login helper
[gpg "ssh"]
allowedSignersFile = ~/config/allowed_signers
[include]
path = ~/config/gitconfig-local