class Granify::Controller::Branch
Public Instance Methods
current()
click to toggle source
# File lib/controllers/branch.rb, line 4 def current Notify.info("Current branch: #{Command::Exec.git_current_branch}") end
recent()
click to toggle source
# File lib/controllers/branch.rb, line 8 def recent # TODO: format this Notify.spit Command::Exec.global("git for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname)' refs/heads refs/remotes --count=10") end