github / github/app

Git commits have wrong author

Aperta
#1,408 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Bugs
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git
Ambito
desktop, devtools
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.