-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig
More file actions
42 lines (40 loc) 路 2.05 KB
/
Copy pathgitconfig
File metadata and controls
42 lines (40 loc) 路 2.05 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
[user]
name = Kai Richard K枚nig
email = kai.richard.koenig@gmail.com
signingkey = 1C8CD3503B7C1BFB
[core]
editor = vim -f
excludesfile = ~/.gitignore
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ar | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
l50 = "!f () { git log --abbrev-commit --date=short --pretty=format:'%h%x00%cd%x00%s%x00%an%x00%d' $@ | gawk -F '\\0' '{ printf \"\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-50s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{49}).{2,}/, \"\\\\1鈥",\"g\",$3), $4, $5 }' | less -R; }; f"
l80 = "!f () { git log --abbrev-commit --date=short --pretty=format:'%h%x00%cd%x00%s%x00%an%x00%d' $@ | gawk -F '\\0' '{ printf \"\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-80s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{79}).{2,}/, \"\\\\1鈥",\"g\",$3), $4, $5 }' | less -R; }; f"
lg50 = "!f () { git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' $@ | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-50s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{49}).{2,}/, \"\\\\1鈥",\"g\",$3), $4, $5, $6 }' | less -R; }; f"
lg80 = "!f () { git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' $@ | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-80s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{79}).{2,}/, \"\\\\1鈥",\"g\",$3), $4, $5, $6 }' | less -R; }; f"
janitor = !"git remote prune origin ; git branch -vv | grep ' gone]' | awk '{print $1}' | xargs git branch -D"
[color] # Ensure we get color
diff = auto
branch = auto
status = auto
[merge]
keepBackup = false;
tool = vim
[http]
sslVerify = false
[push]
default = current
[commit]
gpgsign = true
template = /Users/kai/.gitmessage
[gpg]
program = /opt/homebrew/bin/gpg
[log]
mailmap = true
[includeIf "gitdir:~/Workbench/m2dot/"]
path = ~/Workbench/m2dot/.gitconfig