Microsoft/vscode

GitHub - improving git error message for fatal error in commit_refs

Open

#182.679 aberto em 16 de mai. de 2023

Ver no GitHub
 (0 comments) (1 reaction) (1 assignee)TypeScript (10.221 forks)batch import
buggithelp wantedpapercut :drop_of_blood:

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

Description

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

  • VS Code Version: 1.78.2
  • OS Version: Ubuntu 23.04

Steps to Reproduce:

  1. Run git push
  2. An error message is shown "Can't push refs to remote. Try running "Pull" first to integrate your changes"
  3. Click on "Show Command output"
> git push -u origin output
remote: Resolving deltas:   0% (0/3)        
remote: Resolving deltas:  33% (1/3)        
remote: Resolving deltas:  66% (2/3)        
remote: Resolving deltas: 100% (3/3)        
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.        
remote: fatal error in commit_refs        
To github.com:user/repo.git
 ! [remote rejected]           output -> output (failure)
error: failed to push some refs to 'github.com:user/repo.git'

A quick google search reveals that "fatal error in commit_refs" means that GitHub is currently not working.

Current error message

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

Improved error message

Can't push refs to remote. This is probably a GitHub issue. Check https://www.githubstatus.com/ for details.

Guia do colaborador