Microsoft/vscode

Git - integration displays unhelpful error message when pushing large file

Open

#226,011 建立於 2024年8月19日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)TypeScript (74,848 star) (10,221 fork)batch import
buggitgithubhelp wanted

描述

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

貢獻者指南