github / github/app

[Bugs] If no `user.email` set an incorrect default `<local user>@github.com` is used instead

Abierto
#861 1 comentario 0 reacciones 0 asignados Ver en GitHub
Bugs
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Mood:** 😔
**Category:** Bugs

If no `user.email` is set on a repo (or globally), GH Copilot App appears to have defaulted to `@github.com`. This caused confusion in that my (private) repo began showing GH users as contributors to the project, even though I am the only owner/collaborator. It turns out that my local machine user account name happens to match a (different) GH user.

Granted, setting a Git user name/email should be a first step when cloning a repo, but it's an easy step to forget when setting up a new machine. I feel like GH Copilot App could warn before using a default email.

---
| Field | Value |
| --- | --- |
| App version | 0.2.27 |
| OS | macOS 26.5.1 |
| Theme | Chai |
| Path | /chat |
| Tenure | Week 6 |

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start from the /chat flow and inspect how the app obtains Git user.email when the repository and global configuration are unset. Reproduce the fallback with no configured email, then verify that the app warns before using @github.com rather than silently attributing commits to that address.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
git
Área
desktop
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.