How can I use an existing git repository in heroku
<p>I'm using heroku for creating a web application in python-django. I need to use an existing git repository in heroku. The name of my repository is <code>first-blog</code>. When I'm using </p>

<pre><code>git clone https://github.com/heroku/first-blog.git
</code></pre>

<p>I got </p>

<pre><code>Cloning into 'first-blog'...
Username for 'https://github.com': AparnaBalagopal
Password for 'https://AparnaBalagopal@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/heroku/first-blog.git/' not found
</code></pre>

<p>this.
I connect my github to the heroku account. How can I possible to connect this repository to my app in heroku.</p>

<p>It looks like you're trying to clone a non-existent Git repository, which is why you're seeing that error. As some other users have mentioned already, you need to make sure you've got the right Github URL first of all, then you will be able to clone the repository no problem.</p>

<p>Once you've cloned the repository down locally, you can deploy it to Heroku by doing the following:</p>

<pre><code>cd &lt;directory-name&gt;
heroku create
git push heroku master
heroku open
</code></pre>

<p>The above commands will:</p>

<ul>
<li>Move you into the project directory you just downloaded (make sure you use the right directory name).</li>
<li>Create a new Heroku project.</li>
<li>Push your code to Heroku and deploy it.</li>
<li>Open up your new Heroku app in your web browser.</li>
</ul>

<p>You may also need to install Heroku addons (like Postgres, etc.) if your project requires it. You can do this by running:</p>

<pre><code>heroku addons:create &lt;addon-name&gt;
</code></pre>

<p>That should do it!</p>

python django heroku github