2021-01-05 13:15:05 +01:00
|
|
|
title = Removing tags
|
|
|
|
cards = checkout commit-auto merge reset-hard
|
|
|
|
|
|
|
|
[description]
|
|
|
|
|
|
|
|
You added way too many tags? No prob! Delete them with
|
|
|
|
|
|
|
|
git tag -d <tag-name>
|
|
|
|
|
|
|
|
Remove all tags in this repo!
|
|
|
|
|
|
|
|
---
|
|
|
|
tipp1
|
|
|
|
---
|
|
|
|
tipp2
|
|
|
|
---
|
|
|
|
tipp3
|
|
|
|
|
|
|
|
[setup]
|
|
|
|
|
|
|
|
echo "event 1" > feature-list
|
|
|
|
|
|
|
|
git add .
|
|
|
|
git commit -m "Adding feature 1"
|
|
|
|
|
|
|
|
echo "event 2" >> feature-list
|
|
|
|
|
|
|
|
git add .
|
|
|
|
git commit -m "Adding feature 2"
|
|
|
|
|
|
|
|
echo "event 3" >> feature-list
|
|
|
|
|
|
|
|
git add .
|
|
|
|
git commit -m "Adding feature 3"
|
|
|
|
|
|
|
|
git tag v1 HEAD~2
|
|
|
|
git tag v2 HEAD~1
|
|
|
|
git tag v3
|
|
|
|
|
|
|
|
git checkout --detach main
|
|
|
|
|
|
|
|
[win]
|
|
|
|
|
2021-03-09 17:15:54 +01:00
|
|
|
# Did you remove all tags?
|
2021-01-05 13:15:05 +01:00
|
|
|
test "$(git tag -l | wc -l)" -eq 0
|
|
|
|
|
|
|
|
[actions]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[congrats]
|
|
|
|
|
|
|
|
Well done :)
|