Skip to content

Development container should know git credentials #2

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)')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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