Sha256: c7539f76f7d353a8b62bae3cc0bc1549d8d95a0bee217bee7538eb3dfdce75e1

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

require 'debsacker/system_gateway'

module Debsacker
  class Checkout
    class << self
      def branch(branch)
        SystemGateway.perform_with_exit_code('git fetch')
        SystemGateway.perform_with_exit_code("git checkout #{ branch }")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
debsacker-0.1.5 lib/debsacker/checkout.rb
debsacker-0.1.3 lib/debsacker/checkout.rb