Formula-Cookbook: document head branch default.

`--HEAD` defaults to `:branch => "master"` so document that.

Closes #722.
This commit is contained in:
Mike McQuaid 2016-08-19 15:28:12 +01:00
parent 105d7aa534
commit 22ca107f77

View File

@ -524,7 +524,7 @@ To use a specific commit, tag, or branch from a repository, specify [`head`](htt
```ruby
class Foo < Formula
head "https://github.com/some/package.git", :revision => "090930930295adslfknsdfsdaffnasd13"
# or :branch => "develop"
# or :branch => "develop" (the default is "master")
# or :tag => "1_0_release",
# :revision => "090930930295adslfknsdfsdaffnasd13"
end