Method: Docman::GitUtil.push
- Defined in:
- lib/docman/git_util.rb
.push(root_path, version) ⇒ Object
80 81 82 83 84 |
# File 'lib/docman/git_util.rb', line 80 def self.push(root_path, version) Dir.chdir root_path `git pull origin #{version}` `git push origin #{version}` end |