ThinkAdmin/bin/clearTag.cmd
2024-08-04 09:31:12 +08:00

11 lines
230 B
Batchfile

@echo off
setlocal
echo Deleting remote tags...
for /f "delims=" %%x in ('git tag') do git push --delete origin %%x
echo Deleting local tags...
for /f "delims=" %%i in ('git tag') do git tag -d %%i
echo All tags deleted.
pause