Skip to content

Instantly share code, notes, and snippets.

@dominicsayers
Last active June 17, 2023 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominicsayers/b1abc51aca2975a32bfcaa4a91da9958 to your computer and use it in GitHub Desktop.
Save dominicsayers/b1abc51aca2975a32bfcaa4a91da9958 to your computer and use it in GitHub Desktop.
My global git config
$ git config --global --list
user.name=Dominic Sayers
user.email=dominic@sayers.cc
user.signingkey=C7750E92
commit.gpgsign=true
core.editor=code --wait
rebase.autosquash=true
pull.rebase=true
tag.gpgsign=true
push.followtags=true
fetch.prune=true
git config --global user.name "Dominic Sayers"
git config --global user.email dominic@sayers.cc
git config --global user.signingkey C7750E92
git config --global commit.gpgsign true
git config --global core.editor "code --wait"
git config --global rebase.autosquash true
git config --global pull.rebase true
git config --global tag.gpgsign true
git config --global push.followtags true
git config --global fetch.prune true
$ cat ~/.gitconfig
[user]
        name = Dominic Sayers
        email = dominic@sayers.cc
        signingkey = C7750E92
[commit]
        gpgsign = true
[core]
        editor = code --wait
[rebase]
        autosquash = true
[pull]
        rebase = true
[tag]
        gpgsign = true
[push]
        followtags = true
[fetch]
        prune = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment