Skip to content

Instantly share code, notes, and snippets.

@GregOnNet
Created November 23, 2024 15:57
Show Gist options
  • Save GregOnNet/dfd1cfc9fef31ff00f7644045010b3a2 to your computer and use it in GitHub Desktop.
Save GregOnNet/dfd1cfc9fef31ff00f7644045010b3a2 to your computer and use it in GitHub Desktop.
Git Config
[user]
name = ...
email = ...
[core]
pager = delta
whitespace = cr-at-eol
quotepath = false
editor = code --wait
eol = lf
autocrlf = input
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = zebra-dark line-numbers decorations
syntax-theme = Sublime Snazzy
plus-style = syntax "#003800"
minus-style = syntax "#3f0001"
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box ul
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[apply]
whitespace = nowarn
[color]
ui = auto
wtf = true
[color "diff"]
old = bold red
new = bold green
meta = bold yellow
[color "branch"]
current = bold green
local = green
remote = red
upstream = bold red
plain = bold yellow
[color "status"]
added = bold red
changed = bold green
untracked = bold cyan
nobranch = red reverse
[color "interactive"]
prompt = bold blue
error = bold red
[branch]
autoSetupMerge = true
autoSetupRebase = always
[svn]
rmdir = true
findcopiesharder = true
[merge]
tool = vscode
log = true
[mergetool]
prompt = false
keepBackup = false
[diff]
colorMoved = default
tool = vscode
renames = copies
submodule = log
compactionHeuristic = true
indentHeuristic = true
[difftool]
prompt = false
[mergetool "vscode"]
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED
[difftool "vscode"]
cmd = code --wait --diff $LOCAl $REMOTE
[clean]
requireForce = false
[rerere]
enabled = true
autoupdate = true
[push]
default = simple
followTags = true
autoSetupRemote = true
[rebase]
autoSquash = true
[stash]
showPatch = true
[color "diff-highlight"]
oldnormal = red
oldhighlight = red bold 52
newnormal = green
newhighlight = bold green 22
[url "[email protected]:"]
insteadOf = gh:
[commit]
verbose = true
[init]
defaultBranch = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment