To be clear, what I'm not asking is how to bring my ssh keys with me along an ssh session. I'm aware that ssh -A
will do what I want.
However, what I notice is that all global config on the remote machine are being applied to my git commands, so even though my ssh key is being used to git push/pull.
The problem is that when I do commit, the Author string is not me.
So the questions is, is there any way to bring my global git config
from my client machine across an ssh session to use on the remote machine?