2013-08-23から1日間の記事一覧

Git の annotated tag を lightweight tag に変換する

Git

grep 'refs/tags/.*\^{}$' .git/info/refs | while read line; do hash=${line:0:40} tag=${line##*/} tag=${tag%^*} git tag -d $tag git tag $tag $hash git push origin :$tag done git push --tags clone 済みのリポジトリでは git fetch --tags 経緯 古…