Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
繼續輸入git push heroku main顯示錯誤
error: src refspec main does not match any
error: failed to push some refs to 'https://git.heroku.com/gemma-python.git'
ChatGPT顯示下列原因
main分支不存在 網路教學式master
沒有提交代碼到本地任何分之
未設定遠端儲存庫或分之
Heroku儲存初始化問題
我的解決方法
先講結論: Heroku網站已取消免費,可以轉移至Pythonanywhere
沒找到如何使用VS Code運行Pythonanywhere
但免費版無法自己創資料夾和檔案,只能測試上傳Code後網站可以正常運作
步驟1: 先確認設定檔無問題
檢查Procfile輸入錯字,更正後重新輸入git commit -am “make it better”依然有問題