I use the commands below to transfer data to the heroku application.
git clone https://git.heroku.com/bigpro.git cd bigpro git add . git commit . -m "my test on commit" git push heroku master
When I used git push heroku master , I got something like this.
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.
Then I gave the heroku open command, I got an error
βΈ ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443
When I received the above error, I tried to change the commands on the terminal using heroku git:clone -a bigpro and after making the changes I gave git push heroku master , I got an error
remote: ! Push rejected to bigpro. remote: To git.heroku.com/bigpro.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git.heroku.com/bigpro.git';
source share