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 1 year has passed since last update.

git タグ付け

Posted at

gitのタグは2種類ある(注釈付きタグ)と(軽量タグ)

注釈付きタグ

git tag -a [タグ] -m "[メッセージ]" 
-mはエディタを立ち上げずにメッセージを入力できる

軽量タグ

git tag [タグ名]

後からタグ付けする

git tag [タグ名] [コミット名]

タグのデータを表示する

git show [タグ名]

タグをリモートに送信するには
git push コマンドで別途指定する

タグをリモートリポジトリに送信する

git push [リモート名] [タグ名]

タグを一斉に送信する

git push origin --tags
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?