0
0

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 3 years have passed since last update.

Git タグの使い方

0
Last updated at Posted at 2021-11-06

コミットを参照しやすくするためにわかりやすい名前をつけるのがタグ。よくリリースポイントにつける。

// タグの一覧を表示 
git tag

// タグのデータを表示 
git show タグ名

タグには2種類あり、注釈付き版のタグと軽量版のタグがある

注釈付きのタグにはタグ名にプラスでメッセージを追加できる

リモートにプッシュする場合は別途指定してあげる必要がある。プッシュの時に勝手についていかない

ソースツリーの場合は以下のキャプチャのプッシュするタグにチェックをするとリモートにプッシュされる
image.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?