I have a heroku app. I was working fine pushing regularly in the master branch. But a few days ago, for some reasons I had to reinstall windows on my machine. Now, I can not take access to my heroku app i.e, I am not able to change my app and pushing the change to remote branch. I have cloned my app from heroku server.I also installed git bash and heroku CLI and also logged in to my heroku account.after that I have initiated an empty git repository on that cloned repo. After that, when I am trying to use git add . it gave me this error,
warning: adding embedded git repository: quiet-sea-62145
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> quiet-sea-62145
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached quiet-sea-62145
hint:
hint: See "git help submodule" for more information.
Ignoring this error, I have used git commit -m command and then git push heroku master command. Then it gave me this error.
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
How can I regain access to my remote branch so that I can change things locally and pushing them to heroku master branch.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Ix1S1x
via IFTTT
Aucun commentaire:
Enregistrer un commentaire