github / github/app

Git commits have wrong author

Open
#1,408 0 comments 0 reactions 0 assignees View on GitHub
Bugs
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
desktop, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.