Fetch with `ssh` works, but pull does not.
- Langage dominant
- Rust
- Étoiles
- 22.5k
- Forks
- 773
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Describe the bug**
Fetch works... pull doesn't.
**To Reproduce**
Steps to reproduce the behavior:
1. `shift+f` -> fetch remote, yubikey touch for SSH, works fine :ok_hand:
2. `p` -> pull remote, yubikey touch for SSH, `fetch failed: git error: Bad credentials.` :sob:
**Context (please complete the following information):**
- OS/Distro + Version: Pop!_OS
- GitUI Version: #2157 branch
- Rust version: 1.77.0
**Additional context**
I have multiple ssh and gpg configs that occasionally will error on one that is incorrect, but then try another that is for `git` - I have not tried to see if that is the issue here, but I do not think it's at play in testing so far.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire la différence entre le chemin de fetch `shift+f` et le chemin de pull `p` avec l’authentification SSH et YubiKey dans l’environnement indiqué. Comparez le comportement d’authentification des deux opérations et vérifiez le fix en confirmant que pull se termine sans `Bad credentials`.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- git, rust
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100