git版本打标签

以sofu580 1.0.5版本发布为例,当本地调测都通过且push到git后,可把git上代码打标签,用户版本回溯记录。

apple-MacB:soufu580-app apple$ git tag -a v1.0.5

apple-MacB:soufu580-app apple$

apple-MacB:soufu580-app apple$ git push origin v1.0.5:v1.0.5

Counting objects: 1, done.

Writing objects: 100% (1/1), 155 bytes | 0 bytes/s, done.

Total 1 (delta 0), reused 0 (delta 0)

To https://git.oschina.net/vidy/soufu580-app.git

  • [new tag] v1.0.5 -> v1.0.5

undefined

posted @ 2015-02-26 23:29  wolfcamel  阅读(120)  评论(0编辑  收藏  举报