Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
  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