public PushCommand add(Ref ref) {refSpecs.add(new RefSpec(ref.getLeaf().getName()));return this;}
public virtual NGit.Api.PushCommand Add(Ref @ref){refSpecs.AddItem(new RefSpec(@ref.GetLeaf().GetName()));return this;}