create_branch


Description:

public Branch? create_branch (string branch_name, Object target, CreateFlags flags) throws Error

Creates a new branch pointing at a target commit.

Parameters:

this

a Repository.

branch_name

the name of the branch.

target

a Object.

flags

a CreateFlags.

Returns:

the reference to which the branch points, or null in case of an error.




2022 vala-language.org