MCPcopy Index your code
hub / github.com/initialcommit-com/git-sim / branch

Function branch

src/git_sim/commands.py:34–43  ·  view source on GitHub ↗
(
    name: str = typer.Argument(
        ...,
        help="The name of the new branch",
    )
)

Source from the content-addressed store, hash-verified

32
33
34def branch(
35 name: str = typer.Argument(
36 ...,
37 help="The name of the new branch",
38 )
39):
40 from git_sim.branch import Branch
41
42 scene = Branch(name=name)
43 handle_animations(scene=scene)
44
45
46def checkout(

Callers

nothing calls this directly

Calls 2

BranchClass · 0.90
handle_animationsFunction · 0.70

Tested by

no test coverage detected