Skip to content

Embedded terminal: git push fails with "Device not configured" (no credential helper / TTY) #6

@shprotx

Description

@shprotx

Problem

git push from VibeStudio's built-in terminal fails with:

fatal: could not read Username for 'https://github.com': Device not configured

The same repo, same remote, same macOS user pushes fine from Android Studio and from system Terminal.app

Cause (suspected)

The embedded terminal does not forward a TTY to git / does not inherit the system git credential helper (osxkeychain). When git tries to prompt for credentials it has no stdin → errno ENXIO → "Device not configured".

Workaround

Set the credential helper manually:

git config --global credential.helper osxkeychain

or switch remote to SSH.

Suggestion

Either (1) wire a real PTY to the embedded terminal, or (2) respect the system credential.helper / macOS Keychain by default, or (3) integrate GitHub OAuth like Android Studio / IntelliJ do.

Repro

  1. Open any git repo with HTTPS remote inside VibeStudio's terminal
  2. git push
  3. observe the error above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions