Repository navigation
Expand file tree
/
Copy pathdot_gitconfig
More file actions
85 lines (85 loc) · 2.21 KB
/
Copy pathdot_gitconfig
File metadata and controls
85 lines (85 loc) · 2.21 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
[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
[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 = ssh-keygen
# Work git config from git-config-tool, before the personal identity so
# its URL rewrites and signing keys apply everywhere. The per-org remote
# routing blocks live in the untracked ~/.gitconfig.work-routing, keeping
# org names out of this repo.
# ponytail: absolute home path — git-config-tool's doctor string-matches
# this line; make this a .tmpl with {{ .chezmoi.homeDir }} if you ever use
# a machine where $HOME differs.
[include]
path = /Users/tony.hsu/.config/datadog/git/config
# Personal identity is the default for every repo, including repos
# with no remote. It wins over the work config included above; the
# routing file included below re-applies the work identity for repos
# with work remotes only. Git skips missing includes, so machines
# without the routing file just get this identity.
[user]
name = Tony Hsu
email = tonyc.t.hsu@gmail.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF1GXPznqwRRaFOpx6euCAiiiEUs93JC3czqvQq+777v
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[include]
path = ~/.gitconfig.work-routing