Summary
Creates a new reference named name pointing to canonicalRefNameOrObject.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Containing Type
- IReferenceCollection
Syntax
void Add(string name, string canonicalRefNameOrObject, bool allowOverwrite = false)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | |
| canonicalRefNameOrObject | string | |
| allowOverwrite | bool |
Return Value
| Type | Description |
|---|---|
| void |