Skip to content

Instantly share code, notes, and snippets.

@Myuzu
Created December 10, 2019 14:29
Show Gist options
  • Save Myuzu/145f7a4154993e15923129d44cee0d11 to your computer and use it in GitHub Desktop.
Save Myuzu/145f7a4154993e15923129d44cee0d11 to your computer and use it in GitHub Desktop.
# $HOME/.gitconfig
[includeIf "gitdir:~/work/new_project_dir/"]
path = ~/work/new_project_dir/.gitconfig-new_project
# $HOME/work/new_project_dir
[user]
name = Custom Name
email = [email protected]
signingkey = 0011223344556677E
[commit]
gpgsign = true
[core]
sshCommand = "ssh -i $HOME/.ssh/corporate_ed25519 -F /dev/null -A"
# $HOME/.ssh/config
# Use ssh-agent
AddKeysToAgent yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment