You can also create branches, in exactly the same way, with checkout -b.
This introduces branch.{c,h} library files for doing porcelain-level
operations on branches (such as creating them with their appropriate
default configuration).
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
9 lines
167 B
C
9 lines
167 B
C
#ifndef BRANCH_H
|
|
#define BRANCH_H
|
|
|
|
void create_branch(const char *head,
|
|
const char *name, const char *start_name,
|
|
int force, int reflog, int track);
|
|
|
|
#endif
|