2012-01-16 24 views
0

我在我的github存储库上转到HEAD切换(并且不记得我做的事情),现在我似乎无法让capistrano工作。无法在github上获得我的代码与capistrano

当我...

set :branch, "master" 

它说主人是不是仓库

set :branch, "origin" 

它确实成功了,但是,这不是让我的代码的话,那只能说明修订文件。

# 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://[email protected]/netxph/redport.git" 
set :repository_cache, "git-cache" 
set :scm_verbose, true 
set :normalize_asset_timestamps, false 

提前感谢的内容。

回答

0

我已经解决了它...

我拼错库(见上文),并与在它空值库的另一个副本。

:(

相关问题