0
我想用命令的Django项目推到Heroku的:推git的回购协议heorku
git push staging master
和分期是指这个混帐配置:
[remote "staging"]
url = [email protected]:heorku-server.git
fetch = +refs/heads/*:refs/remotes/staging/*
但我得到以下错误:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Fatal error: local() encountered an error (return code 128) while executing 'git push staging master'
Aborting.
我检查了git repo和heroku服务器,他们都有我的确切公钥。
感谢您的帮助!
感谢您的回答。我自己想出了这些确切的步骤。添加密钥工作了一天,然后我最终创建了一个新的密钥。 – user1909186