Skip to content

"Bad credentials" error when pulling in gitui, works fine using git pull #2216

Closed
@braden-godley

Description

@braden-godley

Describe the bug
When I try to push/pull using gitui, I get a "Bad credentials" error. However, I am able to perform git push and git pull without issues.

To Reproduce
Steps to reproduce the behavior:

  1. Open my git repository
  2. Run gitui
  3. Press f to pull.
  4. See error.

Expected behavior
I expect for it to communicate with my SSH agent to use my credentials and successfully perform the git pull/push.

Screenshots
Pulling in terminal:
image
Pulling in gitui:
image

Context (please complete the following information):

  • Operating system: NixOS + 23.11.3920.25e3d4c0d359
  • Gitui Version: 0.26.1
  • Rust version: 1.77.2

Additional context
I am using 1Password as an SSH agent. However, I don't think that it should matter which specific SSH agent I am using. So I'm not entirely sure why this is occurring.

Additionally, I am definitely using SSH for my remote origin:
image

Thanks for the help!

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