capistrano - git ls-remote -h doesn't have the git url <p>I'm new to using Capistrano. I set it up correctly, but when I run cap staging deploy I get this -</p> <pre><code>DEBUG [b678d5eb] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/myproj/git-ssh.sh /usr/bin/env git ls-remote -h ) DEBUG [b678d5eb] usage: git ls-remote [--heads] [--tags] [-u &lt;exec&gt; | --upload-pack &lt;exec&gt;] &lt;repository&gt; &lt;refs&gt;... DEBUG [b678d5eb] Finished in 0.325 seconds with exit status 129 (failed). </code></pre> <p>I think the git clone url should follow after the -h, but I'm not sure.</p> <p>I'm using Capistrano 3.2.1. Here's my deploy.rb -</p> <pre><code>lock '3.2.1' set :application, 'myproj' set :repository, 'https://vrao@git.test.com/scm/~vrao/myproj.git' set :scm_passphrase, 'blah' </code></pre> <p>Any help would be great.</p>