Module: Gitgut::Git
- Defined in:
- lib/gitgut/git.rb
Overview
Wrapper around git commands
Show commits only on this branch git log –no-merges HEAD –not develop –pretty=oneline
Class Method Summary collapse
Class Method Details
.missing_commits_count(from, to) ⇒ Object
7 8 9 |
# File 'lib/gitgut/git.rb', line 7 def self.missing_commits_count(from, to) `git rev-list #{from}..#{to} --count`.to_i end |