---
title: "Ensure-Tag"
---
Creates and pushes a tag to a git repository.
Git::Ensure-Tag(
	Tag: <text>,
	[Commit: <text>],
	[Force: <true/false>],
	[From: <text>],
	[UserName: <text>],
	[Password: <text>],
	[RepositoryUrl: <text>],
	[IgnoreCertificateCheck: <true/false>]
);
| Name | Format | Script Usage | Usage Notes | 
|---|---|---|---|
| ☆ Tag (default) | text | Tag | This argument is required. | 
| Commit | text | Commit | Default value is "$Commit". | 
| Force (overwrite) | true/false | Force | |
| Repository connection | text | From | Default value is "$Repository". | 
| User name | text | UserName | Value note: "Username from repository connection". | 
| Password | text | Password | Value note: "Password from repository connection". | 
| Repository URL | text | RepositoryUrl | Value note: "Repository URL from repository connection". | 
| Ignore Certificate Check | true/false | IgnoreCertificateCheck | Not specifying will "Use connection settings". |