Esempio n. 1
0
        public void Create(string name)
        {
            Head           head     = directory.GetHead();
            Commit         target   = head.GetTarget();
            BranchMetadata metadata = new BranchMetadata();
            Branch         branch   = new Branch(target, metadata, name);

            directory.CreateBranch(branch);
        }