github / github/app

Git commits have wrong author

Đang mở
#1,408 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bugs
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
git
Lĩnh vực
desktop, devtools
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.