无法使用 capistrano 在 github 中获取我的代码
我在我的 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://[email protected]/netxph/redport.git"
set :repository_cache, "git-cache"
set :scm_verbose, true
set :normalize_asset_timestamps, false
提前致谢。
I did branch to HEAD switching (and can't remember the things I did) on my github repository and now I can't seem to make capistrano work.
when I...
set :branch, "master"
it says master is not repository
set :branch, "origin"
it does succeed, however, it's not getting my code at all, it only shows the REVISION file.
# set branch removed
it says "HEAD" is not a repository.
so far the following are the contents of my 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
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经解决了...
我拼错了存储库(请参阅上文),并且有另一个存储库副本,其中包含空值。
:(
I've solved it...
I misspelled the repository (refer above) and have another duplicate of repository with empty values in it.
:(