Delete a local and remote tag in Git.
Many times we release a version of a library or project and create a new tag thinking that everything is ready and just afterwards you realize that you missed a certain detail. Fortunately, in Git we have the possibility to delete a tag that has already been created both locally and remotely in order to recreate it as necessary. Below you will see how to delete this mentioned tag.
Delete a Local Tag
You just need to replace tag_name with the created tag, e.g. v1.0.0.
git tag -d tag_name
Delete a Remote Tag
You just need to replace tag_name with the created tag, e.g. v1.0.0.
git push --delete origin tag_name
Until next time!
Categories
- Laravel
- Sublime Text
- OpenSSL
- PHPUnit
- Go
- Apache
- Docker
- MySQL
- OWASP
- SOLID
- JOSE
- PostgreSQL
- Static Code Analysis
- SSH
- Digital Ocean
- Java
- Javascript
- GNU/Linux Debian
- PHP
- POO
- Lenguaje C
- Lenguaje C++
- RegExp
- HTML
- Vue.js
- HTTP
- Redis
- Supervisor
- Buenas prácticas
- Ubuntu
- Webpack
- Vim
- Linux
- Arch Linux
- CSS
- Flutter
- Laravel Vapor
- CI/CD
- cPanel
- WHM
- Networking
- Python
- MacOS
- Lógica y algoritmia
- Git
- Dart
- AWS
- Codeception
- Visual Studio Code
- TypeScript
- SEO
- Node.js
- Nuxt.js
- Google Cloud