这有点奇怪。我第一次尝试推送到 github 存储库,并且收到标准的“无法确定主机的真实性”警告消息。然而,当我回答“是”时,它似乎没有被识别:
PS D:\Code> git push --set-upstream origin master
The authenticity of host 'github.com (140.82.114.3)' can't be established.
ED25519 key fingerprint is SHA256:(censored).
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: y
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint: yes
Please type 'yes', 'no' or the fingerprint:
有什么办法可以解决这个问题吗?
我真的不想这么说,但是,重新启动我的终端已经解决了我的问题