Method: Toolshed::Git::Branch.from
- Defined in:
- lib/toolshed/git/branch.rb
.from ⇒ Object
27 28 29 |
# File 'lib/toolshed/git/branch.rb', line 27 def from `git rev-parse --abbrev-ref --symbolic-full-name @{u}`.split('/')[-1].strip end |