A way to configure the remote where the tags are pushed to.
- Vorherrschende Sprache
- Rust
- Sterne
- 22.5k
- Forks
- 773
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I tried numerous times to push tags with gitui.
It appears to not respect local repo git config
```
[remote]
pushDefault = writableOrigin
```
After setting `pushDefault` to the name of `writableOrigin`, `git push --tags` appears to work fine, while the
gitui continues to complain `Bad credentials` and seems to print messages about trying to access `readOnlyOrigin` in its log
with `gitui -l`.
As a work around, renaming `writableOrigin` -> `origin` and `origin` -> `readOnlyOrigin` appears to fix `Bad Credentials` messages from `gitui`.
As a proposed improvement for gitui, which is awesome, and not a way to blame anyone:
1. error messages can be improved, so that more specific cause of error is printed instead of `Bad Credentials`
2. make origin where the tags get pushed to configurable.
Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem mit getrennten schreibgeschützten und beschreibbaren Remotes, der gezeigten remote.pushDefault-Konfiguration und gitui -l; vergleiche git push --tags mit dem Tag-Push-Verhalten von gitui. Verfolge den Einstiegspunkt für den Tag-Push und dessen Protokollierung und bestätige anschließend, dass das Ziel konfigurierbar ist und Fehler bei den Anmeldedaten die konkrete Ursache angeben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- git, rust
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100