Simulation.branch¶
Simulation.branch
-
Simulation.
branch
(name, empty=False, linkfiles=None)[source]¶ Create branch by creating a copy of the current branch state and checkout that branch. If the branch exists, just checkout that branch.
- Parameters
name (str) – Name of the new branch
empty (bool) – If
True
do not copy the state of the current branch.linkfiles (list/bool) – If a list of paths that should be soft-linked rather then copied. If
True
, soft-link all files.
- Returns
None