yrsamrith
7/14/2017 - 8:50 AM

Heroku git

Heroku git

git init
git add .
git commit -m "Initial commit"

# Basic command
heroku create $APP_Name
git remote -v
heroku git:remote -a $APP_NAME
git push heroku master

# This plugin adds some commands to the heroku gem to interact with the app's repo
heroku plugins:install heroku-repo
heroku repo:reset -a appname    # This will empty the remote repository.