2020-02-18 19:47:43 +01:00
|
|
|
[core]
|
2023-05-07 16:56:11 +02:00
|
|
|
editor = nvim
|
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
|
2023-05-07 16:56:11 +02:00
|
|
|
username = hektor
|
2020-02-18 20:16:16 +01:00
|
|
|
|
|
|
|
[alias]
|
|
|
|
d = diff
|
|
|
|
dc = diff --cached
|
|
|
|
a = add
|
2023-05-04 23:58:11 +02:00
|
|
|
ap = add -p
|
2020-02-18 20:16:16 +01:00
|
|
|
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
|
2023-05-21 19:16:51 +02:00
|
|
|
# Note these follow the naming convention of my `.bash_aliases`
|
|
|
|
al = "!git config -l | grep alias | cut -c 7-"
|
|
|
|
alf = "!git config -l | grep alias | cut -c 7- | fzf"
|
|
|
|
al- = "!git config --local --unset $(git config -l | grep alias | cut --delimiter="=" --fields=1 | fzf)"
|
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-09-17 14:27:51 +02:00
|
|
|
|
2021-02-16 21:01:30 +01:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
2021-09-17 13:54:43 +02:00
|
|
|
|
|
|
|
[log]
|
|
|
|
date = relative
|
|
|
|
abbrevCommit = true
|
2022-05-16 00:26:56 +02:00
|
|
|
|
|
|
|
[credential "https://github.com"]
|
|
|
|
helper = !/usr/bin/gh auth git-credential
|
2023-05-04 23:58:11 +02:00
|
|
|
|
|
|
|
[merge]
|
|
|
|
tool = vimdiff
|
|
|
|
conflictstyle = diff3
|
2023-05-19 19:59:55 +02:00
|
|
|
[pull]
|
|
|
|
rebase = true
|
|
|
|
[diff]
|
|
|
|
colorMoved = zebra
|
2023-12-10 10:52:57 +01:00
|
|
|
[commit]
|
|
|
|
gpgsign = true
|