I’ve a distant machine the place a number of builders work on the identical repository. We use gitolite and SSH keys to handle git entry.
As for now we code on the native machines, commit, push, pull remotely and check. It really works, however is time consuming and annoying.
If we edit code on distant repo, we will commit and push, forwarding agent provides appropriate entry rights to repository, however nonetheless title and electronic mail is the one configured on the server.
Tried organising surroundings variables:
However it nonetheless makes use of information from git config. If I unset these, git complains about that in commit.
Is there a option to configure electronic mail and title independently for every person, eg. by way of ssh keys handed by forwarding agent?
A nasty workaround is to mount distant listing domestically after which commit on native machine. Nasty and takes ages.