Skip to content

Cant push/pull if the git cli used gh-cli credentials #2167

Closed
@Alt-iOS

Description

@Alt-iOS

Describe the bug
In the normal cli, I authenticated my gh with their cli but continue to use git pull or git push -u origin main, nonetheless, it seems gitui cant find the credentials and doesnt store them, as each time I try to interact with the remote repo I need to put my username and a token

To Reproduce
Steps to reproduce the behavior:

  1. Authenticate github account via their cli and the Https method
  2. try to push/pull or interact in any way trough gitui with the remote repo
  3. Be asked to authenticate for each operation

Expected behavior
The same way in the git cli I can interact with the gh repo, without needing to signin each time

Context (please complete the following information):

  • macos 14.1
  • GitUI 0.25.2
  • Rust 1.77

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions