Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icetimux/2a1dabad5d513f2cf88658edb80b074c to your computer and use it in GitHub Desktop.
Save icetimux/2a1dabad5d513f2cf88658edb80b074c to your computer and use it in GitHub Desktop.
  1. Install the Heroku CLI
  2. Login to Heroku
heroku login
  1. Create a local git repository with the same name as your heroku app
cd myproject/
git init
  1. Add Heroku and Github repository as remote / origin
heroku git:remote -a myproject
git remote add origin https://github.com/IceTimux/pastebin
  1. Pull, commit and push to Heroku
git pull origin master
git add .
git commit -am "updating..."
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment