Class: Branches::Commands

Inherits:
Object
  • Object
show all
Defined in:
lib/branches.rb

Instance Method Summary collapse

Instance Method Details

#show_branches_by_dateObject



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