Skip to content

Instantly share code, notes, and snippets.

@hoang-himself
Last active May 18, 2024 15:21
Show Gist options
  • Save hoang-himself/3314c9e0878c52d2669831facfa85552 to your computer and use it in GitHub Desktop.
Save hoang-himself/3314c9e0878c52d2669831facfa85552 to your computer and use it in GitHub Desktop.
Local configs

Local configs

These configs are meant for personal use only. You can make changes and use these as you like.

[commit]
gpgSign = true
[tag]
gpgSign = true
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[user]
signingkey = ~/.ssh/id.d/ed25519_github.com.pub
name = Hoang NGUYEN
email = baauco@gmail.com
[url "git@github.com:"]
pushInsteadOf = https://github.com/
pushInsteadOf = git://github.com/
[url "git@github.com:hoang-himself/"]
insteadOf = gh:
[includeIf "hasconfig:remote.*.url:https://github.com/hoang-himself/**"]
path = ~/.gitconfig.hoang-himself
[includeIf "gitdir:~/work/"]
path = ~/.gitconfig.work
Host ${name}
HostName ${hostname}
Port ${port}
User ${user}
IdentityFile ${path}
#AddKeysToAgent yes
#ForwardAgent yes
#RemoteForward /run/user/1000/gnupg/S.gpg-agent ~/.gnupg/S.gpg-agent.extra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment