create_branch
Description:
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. |