Class: Branches::Commands
- Inherits:
-
Object
- Object
- Branches::Commands
- Defined in:
- lib/branches.rb
Instance Method Summary collapse
Instance Method Details
#show_branches_by_date ⇒ Object
5 6 7 |
# File 'lib/branches.rb', line 5 def show_branches_by_date puts %x[git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'] end |