Skip to content

Instantly share code, notes, and snippets.

@Jaid
Last active June 30, 2023 02:13
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 Jaid/b81a839a438693a86718d3bb6347a9e4 to your computer and use it in GitHub Desktop.
Save Jaid/b81a839a438693a86718d3bb6347a9e4 to your computer and use it in GitHub Desktop.
My .gitconfig for Debian environments
[core]
eol = lf
autocrlf = false
editor = nano
longpaths = true
[user]
name = Jaid
username = jaid
email = 6216144+Jaid@users.noreply.github.com
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEUBab6iVEdD6YkwHfPUsI86sHuneplomznPImduj/cd
[commit]
gpgsign = true
[gpg]
format = ssh
[http]
postBuffer = 1048576000
[init]
defaultBranch = main
[push] # https://stackoverflow.com/a/22933955/10710275
default = current
[pack] # https://stackoverflow.com/a/29355320
deltaCacheSize = 1g
threads = 0
[credential "https://github.com"]
helper =
helper = !/usr/bin/env gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/env gh auth git-credential
- target: .gitconfig
userHome: true
message: 'Dont’t forget to run: printf %s $GITHUB_TOKEN | gh auth login --with-token'
backupExisting: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment