Microsoft/vscode

Git - improve error handling for publishing an empty repository

Open

#246562 opened on Apr 15, 2025

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

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