Search This Blog

Tuesday, March 5, 2019

Heroku clone a running up and update it with cli

Download the heroku cli and change the ssh keys if you have a previous installation of keys from some other account
 $heroku auth:logout
$heroku auth:login 
 Openweb page and authenticate with your creds, it will log you in.

download your code from a running app with 

heroku git:clone -a APP-NAME

Do a  git add .   // if you have changed a file
git commit -m "dfd"
git push heroku master.

You can see your updated app after the push is complete 

No comments:

Post a Comment