-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
76 lines (76 loc) · 1.61 KB
/
gitconfig
File metadata and controls
76 lines (76 loc) · 1.61 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
[user]
name = Tony Hsu
email = tonyc.t.hsu@gmail.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF1GXPznqwRRaFOpx6euCAiiiEUs93JC3czqvQq+777v
[init]
defaultBranch = main
templatedir = ~/.git_template
[alias]
aa = add --all
ap = add --patch
br = branch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
car = commit --amend --no-edit
ci = commit -v
co = checkout
cp = cherry-pick
df = diff
dfc = diff --cached
rb = rebase
rbi = rebase -i
wip = commit -m "WIP"
uncommit = reset --soft HEAD^
unstage = reset HEAD --
[push]
default = current
followTags = true
autoSetupRemote = true
[core]
excludesfile = ~/.gitignore
autocrlf = input
editor = ${EDITOR:-vim}
[merge]
ff = only
conflictstyle = zdiff3
[commit]
template = ~/.gitmessage
gpgsign = true
verbose = true
[fetch]
prune = true
pruneTags = true
[pull]
ff = only
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[include]
path = ~/.gitconfig.local
[diff]
colorMoved = plain
algorithm = histogram
mnemonicPrefix = true
renames = true
[branch]
sort = -committerdate
[tag]
sort = -version:refname
[column]
ui = auto
[help]
autocorrect = prompt
[rerere]
enabled = true
autoupdate = true
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
allowedSignersFile = ~/.ssh/allowed_signers
[includeIf "gitdir:~/datadog/"]
path = ~/.gitconfig.datadog
[includeIf "gitdir:~/dd/"]
path = ~/.gitconfig.datadog
[includeIf "gitdir:~/go/"]
path = ~/.gitconfig.datadog