Method: LabClient::Commit#cherry_pick

Defined in:
lib/labclient/commits/commit.rb

#cherry_pick(branch_name) ⇒ Object



18
19
20
21
22
23
# File 'lib/labclient/commits/commit.rb', line 18

def cherry_pick(branch_name)
  # If from List Project ID isn't stored
  project_id = collect_project_id if project_id.nil?

  client.commits.cherry_pick(project_id, id, branch_name)
end