📜  heroku git 步骤 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:30.800000             🧑  作者: Mango

代码示例1
# clone project (replace my-app with your app's name)
git clone git@heroku.com:my-app.git

# add git remote to existing directory (replace my-app with your app's name)
git remote add heroku git@heroku.com:my-app.git

# stage, commit, and push changes (assuming main is the default branch)
git add .
git commit -am "commit message goes here"
git push heroku main