title: Cannot push git repo to Dokku remote on Digital Ocean droplet?
body: <p>Edit/update: instead of creating my git repo in the root, I created it in the dokku folder. Now when I push, I get this:</p>
  
  <pre><code>bash-3.1$ ssh-add id_rsa; git push dokku master
  Identity added: id_rsa (id_rsa)
  Counting objects: 16, done.
  Delta compression using up to 4 threads.
  Compressing objects: 100% (14/14), done.
  Writing objects: 100% (16/16), 3.83 KiB | 0 bytes/s, done.
  Total 16 (delta 1), reused 0 (delta 0)
  To dokku@jlchang.me:LeagueSides
   * [new branch]      master -&gt; master
  </code></pre>
  
  <p>Which indicates my git bash has access to the dokku folder and is able to push there, but Dokku doesn't seem to recognize the repo and is not building/deploying the app. I've read elsewhere that you are not supposed to create the repo yourself on the server, that git remote add takes care of that, but that did not work for me. Is there something I'm missing in the app?</p>
  
  <p>Original post:</p>
  
  <p>I am using Windows 7 with OpenSSH. I recently set up a ubuntu-dokku droplet on Digital Ocean and configured my SSH key. I can currently log in to either the dokku or root username on my droplet without a password using Putty, WinSCP, and ssh at the command line (OpenSSH).</p>
  
  <p>However, I am having issues trying to push my repo onto dokku. I have my repo set up on my local machine (and it is sync'd up with my Github remote), and then ran the following:</p>
  
  <pre><code>git remote add host dokku@&lt;mydomain&gt;:LeagueSides.&lt;mydomain&gt;
  git push host master
  </code></pre>
  
  <p>When I did that, I got the following error:</p>
  
  <pre><code>c:\Code\Projects\LeagueSides&gt; git push host master 
  fatal: 'LeagueSides.&lt;mydomain&gt;' does not appear to be a git repository 
  fatal: Could not read from remote repository.
  </code></pre>
  
  <p>Please make sure you have the correct access rights 
  and the repository exists.</p>
  
  <p>I get the same error if I call:</p>
  
  <pre><code>ssh-agent bash -c 'ssh-add c:\users/&lt;myuser&gt;/.ssh/id_rsa; git push host master
  </code></pre>
  
  <p>I also tried the solution from <a href="https://stackoverflow.com/a/25971857/4131871">here</a> but still got the same error.</p>
  
  <p>Is there a step I'm missing? Did I do something wrong? Any help is greatly appreciated.</p>