Files
mymachine/dotfiles/.config/git/config

40 lines
727 B
Plaintext

[user]
name = ${GIT_USER}
email = ${EMAIL}
[gitubuntu]
lpuser = ${GIT_USER}
[log]
decorate = short
[core]
compression = 9
whitespace = error
preloadindex = true
autocrlf = input
[url "https://github.com/"]
insteadOf = "gh:"
[credential "https://github.com"]
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper = !/usr/bin/gh auth git-credential
[url "git+ssh://${GIT_USER}@git.launchpad.net/"]
insteadof = "lp:"
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[init]
defaultBranch = main
[push]
autoSetupRemote = true
default = current
followTags = true
[pull]
default = current
[rebase]
autoStash = true
missingCommitsCheck = warn