Module: Semmy::Scm::Git
Instance Method Summary collapse
- #attach_git_head(_branch) ⇒ Object
- #commit_all(message, _branch) ⇒ Object
- #create_branch(name, _base) ⇒ Object
- #current_branch ⇒ Object
- #push(remote, name) ⇒ Object
Instance Method Details
#attach_git_head(_branch) ⇒ Object
24 25 |
# File 'lib/semmy/scm/git.rb', line 24 def attach_git_head(_branch) end |
#commit_all(message, _branch) ⇒ Object
12 13 14 |
# File 'lib/semmy/scm/git.rb', line 12 def commit_all(, _branch) repository.commit_all() end |
#create_branch(name, _base) ⇒ Object
16 17 18 |
# File 'lib/semmy/scm/git.rb', line 16 def create_branch(name, _base) repository.branch(name).create end |
#current_branch ⇒ Object
8 9 10 |
# File 'lib/semmy/scm/git.rb', line 8 def current_branch repository.current_branch end |
#push(remote, name) ⇒ Object
20 21 22 |
# File 'lib/semmy/scm/git.rb', line 20 def push(remote, name) repository.push(remote, name) end |