module PurrPr::ShellHelpers

Public Instance Methods

commits() click to toggle source
# File lib/purr_pr/shell_helpers.rb, line 5
def commits
  `git log --pretty=%B`.split("\n\n").reverse
end
current_branch() click to toggle source
# File lib/purr_pr/shell_helpers.rb, line 9
def current_branch
  `git branch --show-current`.chomp
end