add function git_tag_delete git_tag_add

This commit is contained in:
hophacker 2020-10-13 12:49:06 +08:00
parent 590d5ebb95
commit 05b1d83dc8

View File

@ -415,6 +415,15 @@ function rgm {
rg -U $regex
}
function git_tag_delete() {
git tag -d $1; git push --delete origin $1
}
function git_tag_add() {
git tag -a $1 -m "$1"
gpc --tags
}
function dc {
if [ -e ./docker-compose-dev.yml ]; then
docker_file_path=./docker-compose-dev.yml