title: git push heroku origin ~ fatal: No path specified
body: <p>I am following this tutorial <a href="https://www.railstutorial.org/book/static_pages#sec-sample_app_setup" rel="nofollow noreferrer">https://www.railstutorial.org/book/static_pages#sec-sample_app_setup</a> and I successfully completed all steps (git commit and push on github, heroku login and heroku app creation) until this command:</p>
  
  <pre><code>$ git push heroku master
  </code></pre>
  
  <p>I also tried:</p>
  
  <pre><code>$ git push heroku origin
  $ git push heroku
  </code></pre>
  
  <p>And it resulted in this error: </p>
  
  <pre><code>&gt; fatal: No path specified. See 'man git-pull' for valid url syntax
  </code></pre>
  
  <p>I tried to solve it by following <a href="https://stackoverflow.com/a/2627029/2418066">this answer</a> but it didn't work for me.</p>
  
  <p>After I tried what the top answer suggested, this is my config file in .git:</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = true
      bare = false
      logallrefupdates = true
  [remote "origin"]
      url = https://github.com/kunokdev/sample_app.git
      fetch = +refs/heads/*:refs/remotes/origin/*
  [branch "master"]
      remote = origin
      merge = refs/heads/master
  [remote "heroku"]
      url = https://git.heroku.com/test774.git
      fetch = +refs/heads/*:refs/remotes/heroku/*
  </code></pre>
  
  <p>Any ideas what the problem is? I am using Ubuntu 14.04 OS.</p>
  
  <pre><code>$ git config --list | grep heroku
  
  url.ssh://git@heroku.com.insteadof=https://git.heroku.com/
  remote.heroku.url=https://git.heroku.com/test774.git
  remote.heroku.fetch=+refs/heads/*:refs/remotes/heroku/*
  </code></pre>