我正在尝试使用git进行生产(就像您对熟悉的人使用heroku一样)。但是,按照下面的文章进行操作后,如果提示输入y / n,似乎什么都没有发生。键入y并按回车键只会创建空白行。
我在这里关注了这篇文章:https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps
但是当试图推动它时,它就停在这里:
RC@DESKTOP-QU1JT41 MINGW64 ~/Documents/Nodejs Course/server (master)
$ git push live master
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's ssh-ed25519 key fingerprint is:
SERVER FINGER PRINT IS HERE
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) y