-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
50 lines (43 loc) · 1 KB
/
.gitconfig
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
[user]
name = Mark Simpson
email = [email protected]
signingkey = 795B23F016E7D220
[commit]
gpgSign = true
[color]
ui=auto
[alias]
aa = add --all
ci = commit -v
co = checkout
dc = diff --cached
di = diff
l = "log --pretty=format:'%Cred%h%Creset %Cgreen%<(8,trunc)(%cr)%Creset %Cblue%<(15,trunc)<%an>%Creset %<(72,trunc)%s %C(yellow)%d%Creset'"
lo = "log --oneline"
lg = "!git l --graph"
lsalias = config --get-regexp alias
man = help
rehead = reset --hard HEAD
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs git branch -D"
[github]
user = verdammelt
[push]
default = simple
[branch]
autoSetupMerge = always
autoSetupRebase = always
[rerere]
enabled = true
autoUpdate = true
[remote]
pushDefault = origin
[pull]
rebase = merges
[rebase]
autostash = true
[credential]
helper = osxkeychain
[diff]
mnemonicPrefix = true
[init]
defaultBranch = main