Skip to content

Commit

Permalink
feat(git): add delete tag method
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocesarato committed Feb 13, 2021
1 parent 07b4815 commit 7712c24
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Git/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,16 @@ public static function tag(string $name)
return exec("git tag {$name}");
}

/**
* Delete Tag.
*
* @return string
*/
public static function deleteTag(string $name)
{
return exec("git tag -d {$name}");
}

/**
* Parse shortcode.
*
Expand Down

0 comments on commit 7712c24

Please sign in to comment.