You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=E:\src\Go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
What did you do?
Global .gitconfig has user.name set and user.useConfigOnly = true, while user.email is purposefully unset.
This is to support using a personal address for personal repos, and a work address for work repos.
What did you expect to see?
Some mechanism for setting the missing information ahead of time
What did you see instead?
go get pulls from git remotes (e.g. github) fail because their individual repo configs require user.email to be set
Especially annoying when another tool is trying to do this for you (e.g. vscode)