Git 添加tag

Git添加tag比較簡單:git

git tag v0.1  # v0.1就是要打的tag

列出本地的tag:服務器

git tag

顯示結果:code

#
v2.0.170
v2.0171
v2.0172
v2.0173

將tag 提交到遠程倉庫:it

git push origin --tags #

這行命令會將本地當前分支的代碼都提交到服務器co

相關文章
相關標籤/搜索