1
0
Fork 0
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:
David Rodríguez 2019-07-26 11:39:41 +02:00 committed by Hiroshi SHIBATA
parent 6015bbeeaf
commit 56229c4e5d
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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)