“致命:身份验证失败"从 Visual Studio Code (1.62.2) 推送到 GitHub 时 [英] "fatal: Authentication failed for" when pushing to GitHub from Visual Studio Code (1.62.2)

查看:52
本文介绍了“致命:身份验证失败"从 Visual Studio Code (1.62.2) 推送到 GitHub 时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们中的很多人目前都遇到了这样的问题,即我们无法再将更改推送到 GitHub 并获得fatal:由于 错误导致身份验证失败.这已在 Linux 上观察到.

A lot of us are currently having the issue where we aren't able to push changes to GitHub anymore and getting a fatal: Authentication failed for error. This has been observed on Linux.

这是因为最新版本的 Visual Studio Code (1.62.2) 引入了这个错误.

This is because the newest version of Visual Studio Code (1.62.2) introduced this bug.

是否有针对此版本的修复或其他解决方法?

Is there a fix for this version, or otherwise a workaround?

推荐答案

我解决它的方法是将其降级到 1.62.1,现在它再次完美运行.

The way I solved it was by downgrading it to 1.62.1, and now it works perfectly again.

我使用的是 Linux,所以这可能不适用或不适合您,但如果所有操作系统上的所有 Visual Studio Code 版本都相同,则应该如此.

I'm on Linux, so this may not apply or work for you, but it should if all Visual Studio Code versions are the same across all OSes.

Visual Studio Code 团队已确认将在 1.62.3 上修复

The Visual Studio Code team has confirmed that it will be fixed on 1.62.3

如果你像我一样使用 openSUSE Tumbleweed,你可以在要降级的终端:

If you use openSUSE Tumbleweed like me, you can run the following command in the terminal to downgrade:

$ sudo zypper install --oldpackage code-1.62.1

这篇关于“致命:身份验证失败"从 Visual Studio Code (1.62.2) 推送到 GitHub 时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆