Heroku Heroku 筆記 紀錄個人使用Heroku的指令 Heroku 指令紀錄 Heroku CLI Heroku CLI heroku 推送新專案 1 2 3 4 5 6 heroku login git init heroku git:remote –a "你的app名稱" git add . git commit -m "你上傳要取的名稱" git push heroku master 推送新版本專案 1 2 3 git add . git commit -m "版本名稱" git push heroku master 拉取新版本專案 1 git pull 拉取版本有合併問題時 方法一:stash 1 2 3 git stash git pull git stash pop 方法二:完全覆蓋本地修改 1 2 git reset --hard git pull 積沙成塔,積少化痰― Somebody