dots/.gitconfig

57 lines
1005 B
INI
Raw Normal View History

2020-02-18 19:47:43 +01:00
[core]
2020-12-10 15:09:09 +01:00
editor = vim
2020-02-18 20:16:16 +01:00
excludesfile = ~/.gitignore
2020-02-18 19:47:43 +01:00
[user]
2021-02-16 21:01:05 +01:00
email = hektor.misplon@pm.me
2020-11-02 11:56:00 +01:00
name = Hektor Misplon
2020-02-18 20:16:16 +01:00
username = hektormisplon
[alias]
d = diff
dc = diff --cached
a = add
cm = commit -m
2021-02-20 15:52:08 +01:00
l = log --pretty=format:"(%an)\\ \\ %h\\ \\ %ad\\ \\ %s" --date=short
2020-02-18 20:16:16 +01:00
s = status -s
co = checkout
cob = checkout -b
2021-09-17 13:58:42 +02:00
alias = "!git config -l | grep alias | cut -c 7-"
2021-09-17 14:21:03 +02:00
rs = "restore --staged"
2020-02-18 20:16:16 +01:00
[color]
ui = auto
[color "diff"]
meta = yellow bold
commit = green bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[color "branch"]
2021-09-17 14:13:37 +02:00
current = normal bold
local = normal
remote = normal italic
2020-02-18 20:16:16 +01:00
[color "status"]
2021-09-17 14:13:37 +02:00
added = green
changed = yellow
untracked = normal italic
2020-02-18 19:47:43 +01:00
2020-09-20 11:44:41 +02:00
[credential]
2020-12-10 15:09:09 +01:00
helper = cache --timeout=3600
2021-02-16 21:01:30 +01:00
[init]
defaultBranch = main
2021-09-17 13:54:43 +02:00
[log]
date = relative
abbrevCommit = true