keystone-starter icon indicating copy to clipboard operation
keystone-starter copied to clipboard

Git url clones an empty repo

Open q3e opened this issue 8 years ago • 1 comments

Afrter deploying yo heroku, cloning from the app url:

Cloning into 'keyston-starter'... warning: You appear to have cloned an empty repository. Checking connectivity... done. Tried this solution - didn't help

q3e avatar May 26 '16 07:05 q3e

This is actually the expected behavior of the deploy button. The idea is to encourage people to contribute to the source repo. There's probably a better way but you can do something like:

git clone https://github.com/USER/REPO.git
git remote add heroku https://git.heroku.com/APP-NAME.git
git push -f heroku master

See: http://stackoverflow.com/questions/28737548/how-to-update-an-heroku-app-created-using-github-deploy-to-heroku-button

rasselbock avatar Aug 27 '16 23:08 rasselbock