module Gitgut::Git

Wrapper around git commands

Show commits only on this branch git log –no-merges HEAD –not develop –pretty=oneline

Public Class Methods

missing_commits_count(from, to) click to toggle source
# File lib/gitgut/git.rb, line 7
def self.missing_commits_count(from, to)
  `git rev-list #{from}..#{to} --count --no-merges`.to_i
end