Method: FalkorLib::GitFlow.branches
- Defined in:
- lib/falkorlib/git/flow.rb
.branches(type = :master, dir = Dir.pwd, _options = {}) ⇒ Object
Return the Gitflow branch :master: Master Branch name for production releases :develop:
183 184 185 186 |
# File 'lib/falkorlib/git/flow.rb', line 183 def branches(type = :master, dir = Dir.pwd, = {}) FalkorLib::Git.config("gitflow.branch.#{type}", dir) #confs[type.to_sym] end |