【发布时间】:2014-05-29 16:35:08
【问题描述】:
我刚开始使用 Capistrano。我设置正确,但是当我运行 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 with exit status 129 (failed).
我认为 git clone url 应该跟在 -h 之后,但我不确定。
我正在使用 Capistrano 3.2.1。这是我的 deploy.rb -
lock '3.2.1'
set :application, 'myproj'
set :repository, 'https://vrao@git.test.com/scm/~vrao/myproj.git'
set :scm_passphrase, 'blah'
任何帮助都会很棒。
【问题讨论】:
标签: git capistrano3