Class: GitPublish

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/git-publish.rb

Instance Method Summary collapse

Methods included from Helpers

#init

Instance Method Details

#runObject



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