-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
57 lines (49 loc) · 1.35 KB
/
Copy pathgitconfig
File metadata and controls
57 lines (49 loc) · 1.35 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
[include]
path = .gitconfig.local
[mergetool]
keepBackup = true
[alias]
# I'm lazy, so two letters will always trump the full command
co = checkout
ci = commit
cp = cherry-pick
st = status
br = branch
df = diff
lg = log -p
logm = log --pretty=medium
# The first thing I run on a new project. Who has done the most damage
who = shortlog -s --
# random stuff cargoculted from who knows where
lol = log --pretty=oneline --abbrev-commit --graph --decorate
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1 => \\2/' | sort
tree = log --oneline --decorate --all --decorate --graph
[color]
diff = auto
status = auto
branch = auto
ui = auto
[core]
excludesfile = ~/.gitignore
editor = vim
[format]
# pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
pretty = shortlog
[pretty]
shortlog = format:%C(auto,yellow)%h%C(auto,magenta)% G? %C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(7,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% D
[push]
default = simple
[user]
name = Slobodan Kovačević
email = slobodan@axiomq.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAyC1SlKAypXF8CzeK6+StWKT9Ua9lgBw4az1XHHGyG7
[pull]
rebase = false
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
[commit]
gpgsign = true
[init]
defaultBranch = main