Skip to content

Instantly share code, notes, and snippets.

@foriequal0
Last active April 26, 2021 14:39
Show Gist options
  • Save foriequal0/aeaada9dfcf505f319437dd005592c4f to your computer and use it in GitHub Desktop.
Save foriequal0/aeaada9dfcf505f319437dd005592c4f to your computer and use it in GitHub Desktop.
gitconfig
[user]
useConfigOnly = true
[alias]
graph = log --oneline --decorate --graph
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
[remote]
pushdefault = origin
[push]
default = simple
[fetch]
prune = true
[pull]
ff = only
rebase = interactive
[diff]
indentHeuristic = true
[pack]
useSparse = true
[rebase]
autosquash = true
[rerere]
enabled = 1
[core]
excludesfile = ~/.gitignore
pager = delta --light --hunk-style plain --file-style plain
# windows, wsl interop
autocrlf = input
fileMode = false
safecrlf = warn
fscache = true
checkStat = minimal
[gui]
encoding = utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment