module GitUtils
Attributes
head_sha[R]
repo_url[R]
Public Instance Methods
git_status_clean?()
click to toggle source
# File lib/utils.rb, line 18 def git_status_clean? `git status -s`.length == 0 end
latest_commit_online?()
click to toggle source
# File lib/utils.rb, line 22 def latest_commit_online? `git log --oneline $(git remote)/master...HEAD`.length == 0 end