Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

heroku git steps

# 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
 
PREVIOUS NEXT
Tagged: #heroku #git #steps
ADD COMMENT
Topic
Name
8+1 =