I got error while using "git push heroku master"
<p>I'm using the below given commands for push data to heroku app.</p>

<pre><code>git clone https://git.heroku.com/bigpro.git
cd bigpro
git add .
git commit . -m "my test on commit" 
git push heroku master
</code></pre>

<p>When I used <code>git push heroku master</code> I got something like this..</p>

<pre><code>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.
</code></pre>

<p>Then I gave <code>heroku open</code> command, I got an error which is </p>

<pre><code>â¸    ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443
</code></pre>

<p>When I got the above error I tried to change commands on terminal by using <code>heroku git:clone -a bigpro</code> and after  made my changes, I gave <code>git push heroku master</code> ,I got an error</p>

<pre><code> remote: ! Push rejected to bigpro. remote: To git.heroku.com/bigpro.git ! 
[remote rejected] master -&gt; master (pre-receive hook declined) error: failed to push some refs to 'git.heroku.com/bigpro.git'; 
</code></pre>

<p>This happened to me after I cloned from heroku a second copy of my files. Suddenly <code>git push heroku master</code> wouldn't work and I'd get the same error as you. But when I tried <code>git push origin master</code>, it worked fine.</p>

python heroku github