mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Fix git
options examples
https://github.com/bundler/bundler/commit/bda0fa02c4
This commit is contained in:
parent
6015bbeeaf
commit
56229c4e5d
1 changed files with 3 additions and 3 deletions
|
@ -312,11 +312,11 @@ Git repositories support a number of additional options.
|
|||
You `MUST` only specify at most one of these options. The default
|
||||
is `:branch => "master"`. For example:
|
||||
|
||||
git "https://github.com/rails/rails.git", :branch => "5-0-stable" do
|
||||
gem "rails", :git => "https://github.com/rails/rails.git", :branch => "5-0-stable"
|
||||
|
||||
git "https://github.com/rails/rails.git", :tag => "v5.0.0" do
|
||||
gem "rails", :git => "https://github.com/rails/rails.git", :tag => "v5.0.0"
|
||||
|
||||
git "https://github.com/rails/rails.git", :ref => "4aded" do
|
||||
gem "rails", :git => "https://github.com/rails/rails.git", :ref => "4aded"
|
||||
|
||||
* `submodules`:
|
||||
For reference, a [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
|
||||
|
|
Loading…
Reference in a new issue