mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 21:45:30 +00:00
git
This commit is contained in:
@@ -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]
|
||||
# Please adapt and uncomment the following lines:
|
||||
name = daniel
|
||||
@@ -11,8 +11,42 @@
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
autocrlf = input
|
||||
[alias]
|
||||
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
|
||||
cm = !git add -A && git commit -m
|
||||
[credential "https://github.com"]
|
||||
helper =
|
||||
helper = !/home/bauer/conda/bin/gh auth git-credential
|
||||
co = commit
|
||||
ch = checkout
|
||||
br = branch
|
||||
[interactive]
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user