Sha256: eafcc35d2870e490a821134ea6df5ca8270b5e622f5f44938e5198f3966939e6
Contents?: true
Size: 351 Bytes
Versions: 4
Compression:
Stored size: 351 Bytes
Contents
require 'straight_line/common/command' module GitCommands # pull a branch from remote class Pull < Command def initialize(branch) super('git') arg 'checkout' arg branch pull_command = Command.new 'git' pull_command .arg('pull origin') .arg branch sub_command pull_command end end end
Version data entries
4 entries across 4 versions & 1 rubygems