Skip to content

Git:Autofetch failing for private Github repositories #257423

@RavanH

Description

@RavanH

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

  • VS Code Version: 1.102.1
  • OS Version: Linux x64 (Ubuntu 25.04)

Steps to Reproduce:

  1. Open a workspace with at least one git repo with a private remote on Github and Git:Autofetch set to true
  2. Watch the Output window for Git and at some point a message similar to this will pass:
2025-07-23 10:56:36.473 [info] Missing or invalid credentials.
Skip silent fetch commands
Missing or invalid credentials.
Skip silent fetch commands
remote: Repository not found.
fatal: Échec d'authentification pour 'https://github.com/xxx/xxx.git/'

Manual fetch does work without a hitch but it is annoying when having to remember that some remote repositories changes are visible automatically while others need to get fetched/verified manually each time...

Metadata

Metadata

Assignees

Labels

gitGIT issuesinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions