Skip to content

gh still looking for 2.6.0 after upgrade to 2.7.0 (brew) #5428

@adriens

Description

@adriens

Describe the bug

image

A clear and concise description of what the bug is. Include version by typing gh --version.

Steps to reproduce the behavior

  1. Upgrade from 2.6.0 to 2.7.0 : brew upgrade gh
  2. Try to clone a repo gh repo clone adriens/py-repo
  3. See error below:
/home/linuxbrew/.linuxbrew/Cellar/gh/2.6.0/bin/gh auth git-credential get: 1: /home/linuxbrew/.linuxbrew/Cellar/gh/2.6.0/bin/gh: not found
Username for 'https://github.com'

Expected vs actual behavior

A clear and concise description of what you expected to happen and what actually happened.
It should :

  • not look for previous install binaries
  • not ask for any password

Logs

Paste the activity from your command line. Redact if needed.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmore-info-neededMore info needed from user/contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions