dots/.gitconfig

60 lines
1017 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
ds = diff --stat
dc = diff --cached
a = add
ap = add -p
cm = commit -m
cam = commit -a -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
la = "!git config -l | grep alias | cut -c 7-"
[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"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
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