Sha256: 45ee63778b1d6a8f579b39ea681c4b6535bf4b7a1cf9f7c33ea5c84c8bb22687
Contents?: true
Size: 450 Bytes
Versions: 3
Compression:
Stored size: 450 Bytes
Contents
require 'straight_line/common/command' require 'straight_line/common/shell_error' require 'straight_line/common/git_commands' module GitCommands # Rebase a branch to a base class Rebase < Command include GitCommands def initialize(base, branch) super('git') arg 'rebase' arg base arg branch end def run(*_args) super true rescue ShellError => e handle_merge_conflict(e) end end end
Version data entries
3 entries across 3 versions & 1 rubygems