This commit is contained in:
daniel
2023-03-19 13:11:19 +01:00
parent 879242002a
commit 495988431d

View File

@@ -1,4 +1,4 @@
# This is Git's per-user configuration file. #git config --global rerere.enabled true This is Git's per-user configuration file.
[user] [user]
# Please adapt and uncomment the following lines: # Please adapt and uncomment the following lines:
name = daniel name = daniel
@@ -11,8 +11,42 @@
pager = diff-so-fancy | less --tabs=4 -RFX pager = diff-so-fancy | less --tabs=4 -RFX
autocrlf = input autocrlf = input
[alias] [alias]
up = !git pull --rebase --prune $@ && git submodule update --init --recursive co = commit
cm = !git add -A && git commit -m ch = checkout
[credential "https://github.com"] br = branch
helper = [interactive]
helper = !/home/bauer/conda/bin/gh auth git-credential diffFilter = diff-so-fancy --patch
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[rerere]
enabled = true
[diff]
noprefix = true
colorMoved = True
[commit]
verbose = true
[color "status"]
added = green
changed = red
deleted = blue
untracked = cyan
[push]
default = current
[init]
defaultBranch = main
[include]
path = ~/.gitconfig.local