Skip to content

Commit

Permalink
fish: add delete git tag function
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed Jul 10, 2018
1 parent 0aefc12 commit 387aae9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fish/functions.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 387aae9

Please sign in to comment.