Microsoft/vscode

Git - improve error handling for publishing an empty repository

Open

#246,562 opened on Apr 15, 2025

View on GitHub
 (2 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
buggithelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

  1. mkdir test; cd test; git init .
  2. Add a file e.g. touch README.md
  3. Execute Git: Publish command
  4. Choose either private or public repo
  5. :bug: publish fails with the following error

Forked from https://github.com/microsoft/vscode/issues/244816#issuecomment-2756220251

Contributor guide