0

I first used the following link to create a new Keystone app from Heroku:

https://dashboard.heroku.com/new?button-url=https%3A%2F%2Ft.co%2FjbNu7UtZpn&template=https%3A%2F%2Fgithub.com%2FJedWatson%2Fkeystone-starter

Then I wanted to clone it to my local repo:

➜ Nodejs heroku git:clone -a yellowkorner

  Cloning from app 'yellowkorner'...
  Cloning into 'yellowkorner'...
  warning: You appear to have cloned an empty repository.
  Checking connectivity... done

But when I cd into the folder it's an empty repo, however the app is live online and working fine. Confused! Please help. Thanks

Zeeshan Hassan Memon
  • 8,105
  • 4
  • 43
  • 57
Xenos54
  • 13
  • 1
  • 5

1 Answers1

0

Check the remote repo url of your local clone:

cd /path/to/local/cloned/repo
git remote -v

I suspect it references a fork of https://github.com/JedWatson/keystone-starter, meaning a repo in your GitHub account.

In that case, any fork done by heroku seems to be empty by default.
See this answer to populate its content.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250