赞
踩
github中fork其它项目过来后,如何打标签以及添加release。
(我一直以为github远程仓库中可以直接操作,没想到进入到循环中,new release需要tag,new tag需要release)
给出后续的操作步骤:
git clone https://github.com/<your_username>/repository_name.git
git checkout master
git tag -a 1.0 -m "version 1.0"
其中 1.0 是标签名称,-m 是一份说明。
git push origin 1.0
此处 origin 是仓库名称
在 GitHub 仓库页面,点击 Releases -> Draft a new release
git add .
git commit -m "your commit message"
git push origin master
在 GitHub 仓库页面,点击最新 Release,然后点击 Source code 下的 Download ZIP 按钮
这将下载该 Release 的代码包。
你现在就拥有自己的 Release 了。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。