github / github/app

Git commits have wrong author

Offen
#1,408 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Bugs
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Short summary

I noticed that the commits the app generates have the wrong author

### Affected version or release

v1.0.8

### Installation context

Installed on Windows

### What happened?

I noticed that the commits the app generated have the wrong name. It's not been using the values in user.name and user.email. It seems to have guessed the email from my windows login and appended @users.noreply.github.com, and the name is the name associated with that email. The account in the app is my correct user.

Image

The commits generated by Copilot app have someone else's accounts.

Image

### Steps to reproduce

_No response_

### Expected behavior

The app makes commits with my global git config user and email.

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the generated commit on Windows and inspect how the app constructs commit authors versus the global Git user.name and user.email values. Done means generated commits use the configured name and email rather than Windows login details or another account.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git
Bereich
desktop, devtools
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.