TOOL/VCS 2017. 9. 23. 00:28

!markdown


# Git Tag 모두 지우기


위험하니 신중하게...



### Delete local tags. (로컬저장소의 모든 태그 지우기)


```bash

git tag -d $(git tag -l)

```




### Delete remote tags. (원격저장소의 모든 태그 지우기)


```bash

git fetch

```


```bash

git push origin --delete $(git tag -l) 

```



### Reference 

- Remove all git tags: [https://gist.github.com/okunishinishi/9424779](https://gist.github.com/okunishinishi/9424779)