Skip to content

Instantly share code, notes, and snippets.

@linuxoracledev
Created December 3, 2019 14:45
Show Gist options
  • Select an option

  • Save linuxoracledev/e60ae555f3d0dbd88602c95fce0a459b to your computer and use it in GitHub Desktop.

Select an option

Save linuxoracledev/e60ae555f3d0dbd88602c95fce0a459b to your computer and use it in GitHub Desktop.
How to update apps in heroku after deployment
#Install heroku cli
#Login to heroku
heroku login
#Clone the app in local and changes working dir to the app dir - here azadbd is the app dir
heroku git:clone -a azadbd
cd azadbd
#Initialize git
git init
#Make required changes in your apps
#Add files to repo
git add .
#Commit the changes
git commit -m "final"
#Push changes to heroku
git push heroku master
# If push not work tehn force it
git push heroku master --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment