Package DE_EPAGES::Installer::API::GitTag
This module provides Git tag commands.
Example |
my $GitTag = DE_EPAGES::Installer::API::GitTag->new(); $GitTag->AddLocalTag('patch_6_17_28'); |
@EXPORT_OK |
Functions
AddLocalTag
Add a new local tag for last commit.
Syntax |
$self->AddLocalTag($Tag, $TagMessage); |
Input |
|
AddTag
Add a new tag locally as well as on remote for last commit.
Syntax |
$self->AddTag($Remote, $TagName); |
Input |
|
ExistsTag
Checks if a certain tag already exists on remote.
Syntax |
$self->ExistsTag($Tag); |
Input |
|
Return |
|
PushAddedLocalTag
Push added Tag to remote or all.
Syntax |
$self->PushAddedLocalTag($Remote, $TagName); $self->PushAddedLocalTag($Remote); |
Input |
|
RemoveLocalTag
Remove a local tag.
Syntax |
$self->RemoveLocalTag($Tag); |
Input |
|
RemoveRemoteTag
Delete a tag directly from Git remote. Does not affect the local tag!
Syntax |
$self->RemoveRemoteTag($Remote, $TagName); |
Input |
|
RemoveTag
Delete a tag locally as well as on remote.
Syntax |
$self->RemoveTag($Remote, $TagName); |
Input |
|
new
Create a GitTag handler object.
Syntax |
$Git = DE_EPAGES::Installer::API::Git->new(); |