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