public Task CreateBranch(Reference reference) { _repo.Branches.Add(reference.Name, reference.Pointer); _branchLocks.Add(reference.Name, new object()); push(reference.Name); return(Task.CompletedTask); }
public Task Tag(Reference reference) => Task.FromResult(_repo.Tags.Add(reference.Name, reference.Pointer));