17
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Git tagの更新

Posted at

Git tagの更新

知らなかったのでメモ

tagは更新が出来ないので、一度削除してから同名のtagを設定して
リモートへ反映が必要

# ローカルのタグを削除
$ git tag -d [tag_name]

# 削除をリモートへ反映
$ git push origin :refs/tags/[tag_name]

# タグを設定
$ git tag [tag_name]

# タグをリモートへ反映
$ git push --tags origin
17
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
17
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?