Microsoft/vscode

Git - integration displays unhelpful error message when pushing large file

開放

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

 (1 則留言) (0 個反應) (1 位負責人)TypeScript (39,847 個分叉)batch import
buggitgithubhelp wanted

倉庫指標

星標
 (184,936 顆星)
PR 合併指標
 (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)

描述

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

貢獻者指南