Method: Leg::Commands::Save#run

Defined in:
lib/leg/commands/save.rb

#runObject



19
20
21
22
23
24
25
26
27
28
# File 'lib/leg/commands/save.rb', line 19

def run
  needs! :config, :repo

  if @git.rebase_remaining!
    git_to_litdiff!
    output "Success!\n"
  else
    output "Looks like you've got a conflict to resolve!\n"
  end
end