Skip to content

Cannot authenticate using cygwin Bash #6950

@fransonsr

Description

@fransonsr

Describe the bug

gh version 2.22.1 (2023-01-27)

After logging in via the CLI, gh.exe will not recognize the login. The installation path is not recognized (as it is a Windows path and I am running this from a Cygwin Bash).

Steps to reproduce the behavior

  1. Install cygwin and gh on windows.
  2. From a cygwin bash console, type: gh auth login and complete the login (using an authentication token).
  3. Attempt to checkout a PR.

Expected vs actual behavior

Expected: successfully checkout the PR branch
Actual: error indicating that the command is not found

Logs

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-3Affects a small number of users or is largely cosmeticwindowsRelated to Windows hosts or runners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions