删除Git所有标签 发表于 2018-10-04 | 更新于 2018-10-04 | 阅读次数 xargs命令12345[root@localhost ~]# echo "-lh" | cat-lh[root@localhost ~]# echo "-lh" | xargs lstotal 4.0K-rw-------. 1 root root 1.5K Nov 14 2017 anaconda-ks.cfg Remove all git tags1234567891011#Delete local tags.git tag -l | xargs git tag -d#Fetch remote tags.git fetch#Delete remote tags.git tag -l | xargs -n 1 git push --delete origin#Delete local tasg.git tag -l | xargs git tag -d 赏 微信打赏