2013年7月3日水曜日

git tag周りの覚書

毎回ググってるので、いい加減覚えろって話ではあるんだが…


現在のリポジトリで生成済みのタグ一覧を表示
git tag -l

hogehogeタグの削除
git tag -d hogehoge

hogehogeタグの生成
git tag hogehoge

originリモートに生成済みのhogehogeタグをPush
git push origin hogehoge

ローカルの全てのタグをリモートにPush
git push --tags

リモートの全てのタグをローカルにPull
git pull --tags


参考っていうかまるパクり:
メモ
【git】tagをremoteへpushなど