Skip to content

Instantly share code, notes, and snippets.

@poyaz
Created February 26, 2024 06:48
Show Gist options
  • Select an option

  • Save poyaz/9dcb07fef8875eeb686df889a3cec9a8 to your computer and use it in GitHub Desktop.

Select an option

Save poyaz/9dcb07fef8875eeb686df889a3cec9a8 to your computer and use it in GitHub Desktop.
.gitconfig
[core]
pager = cat -
[user]
email = user@example.com
name = user
[includeIf "hasconfig:remote.*.url:https://test.com/**"]
path = ~/.gitconfig.d/test.gitconfig
#[includeIf "gitdir:~/Projects/dir1/*"]
# path = ~/.gitconfig.d/
[http]
sslVerify = true
# proxy = socks5://127.0.0.1:1080
[user]
email = custom-user@example.com
name = custom-user
signingKey = keyID
[commit]
gpgsign = true
#[credential]
# helper = store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment