Microsoft/vscode

Git - integration displays unhelpful error message when pushing large file

Open

#226,011 opened on Aug 19, 2024

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

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.92.2
  • OS Version: Windows 10 21H1

Pushing a large file (over Github's maximum of 100MB) results in a pop-up error message prompting the user to try pulling first:

Can't push refs to remove. Try running "Pull" first to integrate your changes

Reviewing the actual error message by clicking through to the terminal or command output reveals the actual issue, but including the actual error message in the pop-up may be helpful to some users.

Steps to Reproduce:

  1. Commit a large file
  2. Push or sync

Edit: Issue remains in 1.92.2

Contributor guide

Git - integration displays unhelpful error message when pushing large file · Microsoft/vscode#226011 | Good First Issue