Skip to content

Instantly share code, notes, and snippets.

@fdncred
Last active March 22, 2023 13:29
Show Gist options
  • Save fdncred/b064658599383ba63d75d4c043e8944e to your computer and use it in GitHub Desktop.
Save fdncred/b064658599383ba63d75d4c043e8944e to your computer and use it in GitHub Desktop.
Git Configuration
[user]
name = Darren Schroeder
email = [email protected]
[credential]
helper = wincred
[url "https://"]
insteadOf = git://
[http]
# proxy = http://10.242.47.107:9191
sslVerify = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
required = true
clean = git-lfs clean -- %f
[gui]
recentrepo = D:/Src/GitHub/Accord
[winUpdater]
recentlySeenVersion = 2.25.0.windows.1
[core]
excludefile = %(prefix)/Users/us991808/.gitignore
excludesfile = %(prefix)/Users/us991808/.gitignore
quotepath = false
autocrlf = true
editor = \"C:\\Users\\us991808\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\Code.cmd\"
pager = delta
[credential]
helper = wincred
[color]
ui = true
status = auto
branch = auto
interactive = auto
diff = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
br = branch
co = checkout
df = diff
st = status
sa = stash
mt = mergetool
cp = cherry-pick
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
up = "!git remote update -p; git merge --ff-only @{u}"
hs = log --pretty='%C(yellow)%h %C(cyan)%cd %Cblue%aN%C(auto)%d %Creset%s' --graph --date=relative --date-order
ci = commit
lg = log -p
lgg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
f = fetch
dft = difftool
[pager]
branch = false
difftool = true
[url "https://"]
insteadOf = git://
[filter "lfs"]
smudge = git-lfs smudge -- %f
required = true
clean = git-lfs clean -- %f
process = git-lfs filter-process
[winUpdater]
recentlySeenVersion = 2.25.0.windows.1
[init]
defaultBranch = main
[merge]
tool = code
[mergetool "code"]
cmd = code --wait $MERGED
[diff]
colorMoved = default
[fetch]
prune = true
[rebase]
autosquash = true
[help]
autocorrect = 1
[pull]
ff = only
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations unobtrusive-line-numbers
line-numbers = true
side-by-side = true
[delta "unobtrusive-line-numbers"]
line-numbers = true
line-numbers-minus-style = "#444444"
line-numbers-zero-style = "#444444"
line-numbers-plus-style = "#444444"
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
# commit-decoration-style = blue ol
commit-style = raw
# file-style = omit
# hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = yellow box
[user]
name = Darren Schroeder
email = [email protected]
[core]
# excludefile = /Users/dschroeder/.gitignore
# excludesfile = /Users/dschroeder/.gitignore
quotepath = false
autocrlf = true
editor = \"C:\\Users\\dschroeder\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin\\code-insiders\" --wait
pager = delta
[credential]
helper = wincred
[color]
ui = true
status = auto
branch = auto
interactive = auto
diff = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
br = branch
co = checkout
df = diff
st = status
sa = stash
mt = mergetool
cp = cherry-pick
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
up = "!git remote update -p; git merge --ff-only @{u}"
hs = log --pretty='%C(yellow)%h %C(cyan)%cd %Cblue%aN%C(auto)%d %Creset%s' --graph --date=relative --date-order
ci = commit
lg = log -p
lgg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
f = fetch
dft = difftool
[pager]
branch = false
difftool = true
[http]
# proxy = http://10.242.47.107:9191
sslVerify = false
[url "https://"]
insteadOf = git://
[filter "lfs"]
smudge = git-lfs smudge -- %f
required = true
clean = git-lfs clean -- %f
process = git-lfs filter-process
[winUpdater]
recentlySeenVersion = 2.25.0.windows.1
[init]
defaultBranch = main
[merge]
tool = vscode-insiders
[mergetool "vscode-insiders"]
cmd = code-insiders --wait $MERGED
# [diff]
# tool = vscode-insiders
# colorMoved = zebra
# [difftool "vscode-insiders"]
# cmd = code-insiders --wait --diff $LOCAL $REMOTE
# [diff]
# tool = difftastic
# [difftool]
# prompt = false
# [difftool "difftastic"]
# cmd = difft "$LOCAL" "$REMOTE"
[diff]
colorMoved = default
[fetch]
prune = true
[rebase]
autosquash = true
[help]
autocorrect = 1
[pull]
ff = only
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations unobtrusive-line-numbers
line-numbers = true
side-by-side = true
[delta "unobtrusive-line-numbers"]
line-numbers = true
line-numbers-minus-style = "#444444"
line-numbers-zero-style = "#444444"
line-numbers-plus-style = "#444444"
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
# commit-decoration-style = blue ol
commit-style = raw
# file-style = omit
# hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = yellow box
[user]
name = Darren Schroeder
email = [email protected]
[core]
# excludefile = /home/fdncred/.gitignore
# excludesfile = /home/fdncred/.gitignore
quotepath = false
autocrlf = input
editor = code
pager = delta
[credential]
helper = osxkeychain
[color]
ui = true
status = auto
branch = auto
interactive = auto
diff = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
br = branch
co = checkout
df = diff
st = status -uno
sa = stash
mt = mergetool
cp = cherry-pick
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
# up = "!git remote update -p; git merge --ff-only @{u}"
ci = commit
lg = log -p
lgg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
f = fetch
dft = difftool
[pager]
branch = false
[http]
# proxy = http://10.242.47.107:9191
sslVerify = false
[url "https://"]
insteadOf = git://
[filter "lfs"]
smudge = git-lfs smudge -- %f
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = main
[merge]
tool = code
[mergetool "code"]
cmd = code --wait $MERGED
[diff]
# tool = code
tool = difft
colorMoved = zebra
# [difftool "code"]
# cmd = code --wait --diff $LOCAL $REMOTE
[fetch]
prune = true
[rebase]
autosquash = true
[pull]
ff = only
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations unobtrusive-line-numbers
line-numbers = true
side-by-side = true
[delta "unobtrusive-line-numbers"]
line-numbers = true
line-numbers-minus-style = "#444444"
line-numbers-zero-style = "#444444"
line-numbers-plus-style = "#444444"
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
# commit-decoration-style = blue ol
commit-style = raw
# file-style = omit
# hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = yellow box
[user]
name = Darren Schroeder
email = [email protected]
[core]
excludefile = /home/fdncred/.gitignore
excludesfile = /home/fdncred/.gitignore
quotepath = false
autocrlf = input
editor = code
[color]
ui = true
[alias]
br = branch
co = checkout
df = diff
st = status
sa = stash
mt = mergetool
cp = cherry-pick
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
up = "!git remote update -p; git merge --ff-only @{u}"
[pager]
branch = false
[http]
# proxy = http://10.242.47.107:9191
sslVerify = false
[url "https://"]
insteadOf = git://
[filter "lfs"]
smudge = git-lfs smudge -- %f
required = true
clean = git-lfs clean -- %f
[gui]
recentrepo = /home/dschroeder/src/forks/nushell
[init]
defaultBranch = main
[merge]
tool = code
[mergetool "code"]
cmd = code --wait $MERGED
[diff]
tool = code
colorMoved = zebra
[difftool "code"]
cmd = code --wait --diff $LOCAL $REMOTE
[fetch]
prune = true
[rebase]
autosquash = true
[pull]
ff = only
[credential]
helper = osxkeychain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment