move


Description:

public Branch? move (string new_branch_name, CreateFlags flags) throws Error

Moves/renames an existing branch reference.

Parameters:

this

a Branch.

new_branch_name

target name of the branch once the move is performed; this name is validated for consistency.

flags

a CreateFlags.

Returns:

the new branch or null.