Method: Toolshed::Github#branch_name
- Defined in:
- lib/toolshed/github.rb
#branch_name ⇒ Object
45 46 47 48 |
# File 'lib/toolshed/github.rb', line 45 def branch_name # branch information branch_name = `git rev-parse --abbrev-ref HEAD`.strip end |