Skip to content

Development container should know git credentials #2

@griswaldbrooks

Description

@griswaldbrooks

Use Case

The development container has the user mapped into it, however the git credentials seem not be be, requiring the developer to commit using a host terminal. This disrupts workflow

Acceptance Criteria

GIVEN we are in the development container
WHEN we try to commit changed
THEN git will know the git user and email

Dev Notes

griswald@gillwald-geometry:~/geometry$ git commit

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'griswald@gillwald-geometry.(none)')

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