capistrano3 - capistrano - git ls-remote -h doesn't have the git url -


i'm new using capistrano. set correctly, when run cap staging deploy -

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 <exec> | --upload-pack <exec>] <repository> <refs>... debug [b678d5eb] finished in 0.325 seconds exit status 129 (failed). 

i think git clone url should follow after -h, i'm not sure.

i'm using capistrano 3.2.1. here's deploy.rb -

lock '3.2.1' set :application, 'myproj' set :repository, 'https://vrao@git.test.com/scm/~vrao/myproj.git' set :scm_passphrase, 'blah' 

any great.

never mind, following documentation capistrano 2x, while have 3.2.1 installed.

for might face same issue, in capistrano 2x specify git repo setting repository variable, while in 3x it's been changed repo_url. changed , works fine. here's documentation recommend follow 3x - http://capistranorb.com/documentation/getting-started/installation/


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -