-
Notifications
You must be signed in to change notification settings - Fork 1
/
git-config
73 lines (66 loc) · 1.52 KB
/
git-config
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
[user]
name = Leo Balter
email = [email protected]
signingkey = ~/.ssh/id_ed25519.pub
[color]
ui = auto
diff = auto
[alias]
a = commit --amend
b = checkout -b
c = commit
ca = commit -a
dh = diff HEAD^
dm = diff master
ff = merge --ff-only
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lgp = log -p
msg = commit --allow-empty -m
pick = cherry-pick -s
remaster = rebase master
rei = rebase -i master
sb = status -sb
st = status
top = git rev-parse HEAD
wip = commit -a -m 'wip'
nicelog = log --pretty=nice --graph --date-order --date=short --max-count=15
[push]
default = current
followTags = true
[core]
excludesfile = ~/.gitignore
editor = vim
ignorecase = true
[github]
user = leobalter
token = !security 2>&1 >/dev/null find-generic-password -gs github.token | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/'
[pretty]
nice = "%C(magenta)%h %C(yellow)%ad %C(white)| %C(green)%s%C(red)%d %C(yellow)[%an]"
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[rebase]
autoSquash = true
[help]
autocorrect = 1
[diff]
renameLimit = 4096
[pull]
ff = only
rebase = true
[init]
defaultBranch = main
[commit]
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg
format = ssh
[tag]
gpgSign = true
[gpg "ssh"]
allowedSignersFile = ~/.allowedsigners
[merge]
ff = false
[fetch]
prune = true