Repository navigation
Expand file tree
/
Copy pathgitconfig.symlink
More file actions
executable file
·91 lines (78 loc) · 2.75 KB
/
Copy pathgitconfig.symlink
File metadata and controls
executable file
·91 lines (78 loc) · 2.75 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
# Local/private config goes in the include
[include]
path = ~/.gitconfig.local
path = ~/.gitconfig.aliases
[color]
diff = auto
status = auto
branch = auto
ui = true
[difftool]
prompt = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[merge]
conflictStyle = "diff3"
[merge "mergiraf"]
name = mergiraf
driver = mergiraf merge --git %O %A %B -s %S -x %X -y %Y -p %P -l %L
[mergetool]
keepBackup = false
[pager]
branch = false
[push]
# See `git help config` (search for push.default)
# for more information on different options of the below setting.
#
# Setting to git 2.0 default to suppress warning message
default = simple
autoSetupRemote = true
[rerere]
enabled = true
[pull]
rebase = true
[rebase]
autostash = true
autosquash = true
[core]
editor = zed --wait
excludesfile = ~/.gitignore.global
# This Secretive socket path is also hardcoded in bin/ssh-agent-sync
# (for commit-signing agent resolution, a separate mechanism from this
# SSH transport setting). Keep both in sync if Secretive ever changes
# its container/bundle id.
sshCommand = ssh -o IdentityAgent=/Users/haacked/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
[init]
defaultBranch = main
[user]
name = Phil Haack
email = haacked@gmail.com
branchprefix = haacked/
[credential "https://dev.azure.com"]
useHttpPath = true
[gpg "ssh"]
program = /Users/haacked/.dotfiles/bin/git-ssh-sign
defaultKeyCommand = /Users/haacked/.dotfiles/bin/git-signing-key
[alias]
sign-unpushed = "\\!f() { DEFAULT=$(git default); UPSTREAM=${1-origin/$DEFAULT}; git rebase --exec \"git commit --amend --no-edit -S\" $UPSTREAM; }; f"
[branch]
autoSetupMerge = simple
# Use the PostHog work identity for any repo with a remote in the PostHog GitHub
# org. Matched by remote URL, not directory, so it follows the repo wherever it
# lives. These must stay after the default [user] block above so they override the
# email. Covers SSH, HTTPS, and ssh:// remotes in both org-name casings.
[includeIf "hasconfig:remote.*.url:git@github.com:PostHog/**"]
path = ~/.gitconfig.posthog
[includeIf "hasconfig:remote.*.url:git@github.com:posthog/**"]
path = ~/.gitconfig.posthog
[includeIf "hasconfig:remote.*.url:https://github.com/PostHog/**"]
path = ~/.gitconfig.posthog
[includeIf "hasconfig:remote.*.url:https://github.com/posthog/**"]
path = ~/.gitconfig.posthog
[includeIf "hasconfig:remote.*.url:ssh://git@github.com/PostHog/**"]
path = ~/.gitconfig.posthog
[includeIf "hasconfig:remote.*.url:ssh://git@github.com/posthog/**"]
path = ~/.gitconfig.posthog