Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/StackSoftEng/status/1182853640744247296
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
no need to denote your edits; every post has a public revision history
Source Link
yannis
  • 39.7k
  • 40
  • 185
  • 218

Multiple git commiterscommitters on same repo and mashinemachine with forwarding agent

I have a remote machine where multiple developers work on the same repository. We use gitolite and SSH keys to manage git access.

As for now we code on the local machines, commit, push, pull remotely and test. It works, but is time consuming and annoying.

If we edit code on remote repo, we can commit and push, forwarding agent gives correct access rights to repository, but still name and email is the one configured on the server. Tried

Tried setting up environment variables:

GIT_COMMITTER_NAME=name
[email protected]

But it still uses data from git config. If I unset those, git complains about that during commit.

Is there a way to configure email and name independently for each user, eg. through ssh keys passed by forwarding agent?

//edit: A nasty workaround is to mount remote directory locally and then commit on local machine. Nasty and takes ages.

Multiple git commiters on same repo and mashine with forwarding agent

I have remote machine where multiple developers work on the same repository. We use gitolite and SSH keys to manage git access.

As for now we code on the local machines, commit, push, pull remotely and test. It works, but is time consuming and annoying.

If we edit code on remote repo, we can commit and push, forwarding agent gives correct access rights to repository, but still name and email is the one configured on the server. Tried setting up environment variables:

GIT_COMMITTER_NAME=name
[email protected]

But it still uses data from git config. If I unset those, git complains about that during commit.

Is there a way to configure email and name independently for each user, eg. through ssh keys passed by forwarding agent?

//edit: nasty workaround is to mount remote directory locally and then commit on local machine. Nasty and takes ages.

Multiple git committers on same repo and machine with forwarding agent

I have a remote machine where multiple developers work on the same repository. We use gitolite and SSH keys to manage git access.

As for now we code on the local machines, commit, push, pull remotely and test. It works, but is time consuming and annoying.

If we edit code on remote repo, we can commit and push, forwarding agent gives correct access rights to repository, but still name and email is the one configured on the server.

Tried setting up environment variables:

GIT_COMMITTER_NAME=name
[email protected]

But it still uses data from git config. If I unset those, git complains about that during commit.

Is there a way to configure email and name independently for each user, eg. through ssh keys passed by forwarding agent?

A nasty workaround is to mount remote directory locally and then commit on local machine. Nasty and takes ages.

Source Link

Multiple git commiters on same repo and mashine with forwarding agent

I have remote machine where multiple developers work on the same repository. We use gitolite and SSH keys to manage git access.

As for now we code on the local machines, commit, push, pull remotely and test. It works, but is time consuming and annoying.

If we edit code on remote repo, we can commit and push, forwarding agent gives correct access rights to repository, but still name and email is the one configured on the server. Tried setting up environment variables:

GIT_COMMITTER_NAME=name
[email protected]

But it still uses data from git config. If I unset those, git complains about that during commit.

Is there a way to configure email and name independently for each user, eg. through ssh keys passed by forwarding agent?

//edit: nasty workaround is to mount remote directory locally and then commit on local machine. Nasty and takes ages.