-
Notifications
You must be signed in to change notification settings - Fork 156
/
.gitconfig
31 lines (31 loc) · 916 Bytes
/
.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
[user]
name = Michael Carlberg
email = c@rlberg.se
signingkey = 2556B554
[color]
ui = true
[push]
default = matching
[alias]
update = add -u .
unstage = reset HEAD
untracked = status -u .
untracked-at = status -u
assume-unchanged = update-index --assume-unchanged
ls = ls-files
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(dim white)(%an)%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lg2 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
[credential]
helper = lastpass -l c@rlberg.se
username = jaagr
[github]
user = jaagr
[ghi]
token = ! lpass show --notes 8820807511722437577
#[commit]
# gpgsign = true
[merge]
tool = vimdiff
[mergetool]
prompt = false