Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/rust/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 更新了我的Github密码,现在我无法推送到Github_Python_Macos_Github_Terminal_Passwords - Fatal编程技术网

Python 更新了我的Github密码,现在我无法推送到Github

Python 更新了我的Github密码,现在我无法推送到Github,python,macos,github,terminal,passwords,Python,Macos,Github,Terminal,Passwords,当提示我添加密码时,我会在终端中获得一个密钥的图像,它不会让我手动键入密码。当我按enter键时,它会给我一个错误,即密码不正确 我尝试了以下代码,但没有成功,我仍然获得了关键图像: git凭证osxkeychain擦除 host=github.com 协议=https 我还尝试在KeyChain Access应用程序中更新密码,但在那里找不到Github的任何内容。尝试: git remote show origin 并查看是否可以在内存中更新密码。默认超时时间为900秒,即15分钟 您可

当提示我添加密码时,我会在终端中获得一个密钥的图像,它不会让我手动键入密码。当我按enter键时,它会给我一个错误,即密码不正确

我尝试了以下代码,但没有成功,我仍然获得了关键图像:

git凭证osxkeychain擦除 host=github.com 协议=https

我还尝试在KeyChain Access应用程序中更新密码,但在那里找不到Github的任何内容。

尝试:

git remote show origin

并查看是否可以在内存中更新密码。默认超时时间为900秒,即15分钟

您可以通过此git凭据缓存退出命令使git缓存无效

最佳实践是配置