X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=.gitconfig;h=839cb5f57c76cdb66b236707223779f5b5827081;hp=47ab26a3608cf12d1dc586dbc6e67cd5fa700569;hb=HEAD;hpb=d4366929e6e200155b010dc05ce74255ee6a45ed diff --git a/.gitconfig b/.gitconfig index 47ab26a..8cfe86b 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,8 +3,6 @@ name = Ian Kelling email = iank@fsf.org #email = ian@iankelling.org [alias] -# Always use the git lg alias instead of git log. It's too easy to get -# confused by not seeing branches in git log output. lg = log --graph lgstat = log --stat --graph --pretty=format:'%h %ad- %s [%an]' co = checkout @@ -17,6 +15,9 @@ rl = reflog --format='%C(auto)%h %<|(17)%gd %C(blue)%ci%C(reset) %s' [core] excludesfile = ~/.gitignore_global +# https://stackoverflow.com/questions/59061816/git-forces-refresh-index-after-switching-between-windows-and-linux +# i'm hoping this stops refresh after btrfs sends, especially for brains +checkStat = minimal [credential] helper = cache @@ -65,7 +66,7 @@ prompt = false # or git checkout -b my-branch origin/whatever # autoSetupMerge = always -# git pull always does rebase by default +# make git pull always rebase by default autoSetupRebase = always [push] default = simple @@ -84,3 +85,6 @@ default = simple # Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): y [sendemail] confirm = auto +# https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported +[url "https://github.com/"] + insteadOf = git://github.com/