From 387aae9af11564abf29aedd1d8fb8925b27df874 Mon Sep 17 00:00:00 2001 From: Matheus Peviani Vellone Date: Tue, 10 Jul 2018 13:45:54 -0300 Subject: [PATCH] fish: add delete git tag function --- fish/functions.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fish/functions.fish b/fish/functions.fish index 1f251e2..fda105d 100644 --- a/fish/functions.fish +++ b/fish/functions.fish @@ -6,3 +6,8 @@ function git-clean-branch git remote prune origin git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -D end + +function git-delete-tag + git tag -d $argv + git push origin :refs/tags/$argv +end