2024-03-01から1ヶ月間の記事一覧

git でリモートリポジトリからタグを1つだけ取得する

Git

試した環境 Windows 11 Home 23H2 git version 2.44.0.windows.1 本題 git でリモートリポジトリからタグを1つだけ取得するには以下のようなコマンドで行います。 git fetch --no-tags <remote_name> tag <tag_name> ポイントはタグ名の前にtagと付けることと、--no-tagsオプション</tag_name></remote_name>…