无法使用capistrano在github中获取我的代码

时间:2012-01-16 15:08:59

标签: git github capistrano

我在我的github存储库上进行了HEAD切换(并且不记得我做过的事情),现在我似乎无法使capistrano工作。

当我......

set :branch, "master"

它说master不是存储库

set :branch, "origin"

它确实成功了,但它根本没有得到我的代码,只显示了REVISION文件。

# set branch removed

它说“HEAD”不是存储库。

到目前为止,以下是我的deploy.rb

的内容
set :scm, :git
set :deploy_to, "redport"
set :deploy_via, :remote_cache

set :use_sudo, false
set :user, 'netxph'
set :repostiory, "https://netxph@github.com/netxph/redport.git"
set :repository_cache, "git-cache"
set :scm_verbose, true
set :normalize_asset_timestamps, false

提前致谢。

1 个答案:

答案 0 :(得分:0)

我已经解决了......

我拼错了存储库(参见上面的内容)并且还有另一个存储库副本,其中包含空值。

:(

相关问题