把自己的feature代码合进master后,要使用新的feature就需要在当前master上打一个tag,这样才能引用含有feature版本的代码
tag本质上是指向特定commit的一个指针
自己打tag的时候,发现有个可选项“as a release”,于是研究了下两者的区别
A
tagis 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
tagis a git concept whereas aReleaseis 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
Releaseis created from an existingtagand exposes release notes and links to download the software or source code from GitHub.








网友评论