Skip to content

Report a clear error when git authentication fails #144

@jamesaoverton

Description

@jamesaoverton

Nico, Anita, and I all ran into this problem: DROID is running as root. It runs git as root to checkout a new branch (create-branch). My /root/.gitconfig was set to use gh for authentication. My gh auth had expired. But we don't really need any authentication to checkout a branch locally.

The error is reported in the logs, but it was hard to interpret the message.

I would like a clearer message on the page with instructions to fix.

Alternatively, it might be possible to avoid the error, maybe by running git with default configuration?

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