Sha256: dfd6db857b9b5786aae522f1434775c67eec295f5e0dfb1fb1d31ff33bdcbde2
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
require 'common/command' require 'common/shell_error' require '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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
straight_line-0.1.0.0 | lib/common/git_commands/rebase.rb |