Sha256: 561b8152d7d88020659ec8ecdb00b40c5111665701d09ccfd7b2d73b7d6c84f9

Contents?: true

Size: 271 Bytes

Versions: 12

Compression:

Stored size: 271 Bytes

Contents

require 'papa/command/base'

module Papa
  module Command
    module Git
      class Push < Command::Base
        def initialize(remote, branch_name)
          command = "git push #{remote} #{branch_name}"
          super(command)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
papa-1.2.0 lib/papa/command/git/push.rb
papa-1.1.0 lib/papa/command/git/push.rb
papa-1.0.0 lib/papa/command/git/push.rb
papa-0.7.2 lib/papa/command/git/push.rb
papa-0.7.1 lib/papa/command/git/push.rb
papa-0.7.0 lib/papa/command/git/push.rb
papa-0.6.2 lib/papa/command/git/push.rb
papa-0.6.1 lib/papa/command/git/push.rb
papa-0.6.0 lib/papa/command/git/push.rb
papa-0.5.0 lib/papa/command/git/push.rb
papa-0.4.1 lib/papa/command/git/push.rb
papa-0.4.0 lib/papa/command/git/push.rb