Method: Gash#commit
- Defined in:
- lib/grancher.rb
#commit(msg, opts = {}) ⇒ Object
70 71 72 73 74 75 |
# File 'lib/grancher.rb', line 70 def commit(msg, opts={}) return unless changed? || opts[:force] commit = commit_tree(to_tree!, msg) @sha1 = git_tree_sha1 commit end |