Git tag输出操作
- 查看存在的tag
- git tag -l
- git checkout tag_1.0
- git archive --format=zip --output=tag_1.0.zip tag_1.0
- git archive tag_1.0 | bzip2 > tag_1.0.tar.bz2
- git archive --format=tar tag_1.0 | gzip > tag_1.0.tar.gz
git打包当前代码库(all 表示所有分支)
git bundle
create bundle_name --all
bundle_name可被当做repo使用进行clone