Class: GitPublish
Instance Method Summary collapse
Methods included from Helpers
Instance Method Details
#run ⇒ Object
5 6 7 8 |
# File 'lib/git-publish.rb', line 5 def run init(ARGV[0], ARGV[1]) %x|git push -u #{@origin} #{@local_branch_name}:refs/heads/#{@remote_branch_name}| end |