Few heroku useful commnads


If you’ve just pushed and want to make sure you’re up-to-date, then you can just run:

git remote show heroku

see latest version in Heroku repository?

git ls-remote heroku

keep track ofreleases:
heroku console "ENV['COMMIT_HASH']"

You can verify the remote in your git configuration:

git remote -v

Push code to heroku:
git push heroku master

Access heroku cosole:
heroku console

More info

https://devcenter.heroku.com/articles/git

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s