开发者

rails 3 plugin install declare a specific branch

开发者 https://www.devze.com 2023-01-13 17:43 出处:网络
I want to install from a particul开发者_运维百科ar branch on a git repo, how do I do it?For plugins:

I want to install from a particul开发者_运维百科ar branch on a git repo, how do I do it?


For plugins:

rails plugin install git://github.com/user/project.git -r branch_name

As gem, in your gemfile declare something like:

gem "project", :git => "git://github.com/user/project.git", :branch => "branch_name" 
0

精彩评论

暂无评论...
验证码 换一张
取 消