tag 和 release 2021-10-09

2021-10-09  本文已影响0人  9_SooHyun

把自己的feature代码合进master后,要使用新的feature就需要在当前master上打一个tag,这样才能引用含有feature版本的代码

tag本质上是指向特定commit的一个指针

自己打tag的时候,发现有个可选项“as a release”,于是研究了下两者的区别

A tag is a pointer to a specific commit. This pointer can be super charged with some additional information (identity of the creator of the tag, a description, a GPG signature, ...).

A tag is a git concept whereas a Release is GitHub higher level concept.
tag属于git的概念,而Release是GitHub这些平台层级的更高级的概念

As stated in the official announcement post from the GitHub blog: "Releases are first-class objects with changelogs and binary assets that present a full project history beyond Git artifacts."

A Release is created from an existing tag and exposes release notes and links to download the software or source code from GitHub.

上一篇下一篇

猜你喜欢

热点阅读