Skip to content

Add option to disable the automated settings of git env vars or make it possible to customise them #2665

Closed
@ntimo

Description

@ntimo

Current behavior

The coder agent sets the following env vars in the environment of the user.

  • GIT_COMMITTER_EMAIL
  • GIT_COMMITTER_NAME
  • GIT_AUTHOR_EMAIL
  • GIT_AUTHOR_NAME

Why can this be problematic?

It could be possible that users have a different email for their coder account that they don't want to leak in git commits or a different user name

Suggested solution

Make it possible to:

  • Option A: Disable the setting of these env vars all together
  • Option B: Make it possible to customize them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions