class GitCommands::Rebase
Rebase
a branch to a base
Public Class Methods
new(base, branch)
click to toggle source
Calls superclass method
Command::new
# File lib/straight_line/common/git_commands/rebase.rb, line 9 def initialize(base, branch) super('git') arg 'rebase' arg base arg branch end
Public Instance Methods
run(*_args)
click to toggle source
Calls superclass method
Command#run
# File lib/straight_line/common/git_commands/rebase.rb, line 16 def run(*_args) super true rescue ShellError => e handle_merge_conflict(e) end