Skip to content

Automatically avoid GUI prompts when run in remote terminal #2348

Description

@derrickstolee

Feature description

I'm not sure if this is even possible, but can we detect if the parent Git process is being run in a remote terminal without an attached GUI?

The case I'm thinking about is a user who is remoting into a macOS device and their credential prompts are blocking Git commands with a GUI prompt that is not visible to them.

There are workarounds, such as setting credential.interactive=false in the Git config. It would be nice if GCM could detect such a scenario and do the right thing right away.

(I have no idea if the macOS platform or any other platform supports this distinction.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions