1. はじめに
- Gitでタグを追加した時に名前の間違いに気づき即修正したい
- ローカル、リモートリポジトリ両方で修正したい
2. 開発環境
- Git
3. Gitコマンド
-
ローカルリポジトリのtagの削除
git tag -d Prototype1.0.0
-
リモートリポジトリへpush
git push origin --delete Prototype1.0.0
-
ローカルリポジトリにtagを追加
git tag -a Prototype1.0.1
-
リモートリポジトリへpush
git push origin --tags
4. 注意事項
- 基本は名前を間違えないようにして実施しないようにする
5. 参考文献