cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

middleware:version-control:git:tag_github.html



[GitHub] How to tag in GitHub with CLI

Clone with Other Server

$ git clone https://github.com/your_name/TEST
$ ls
TEST


Tagging in Local Repository

$ git tag -a v1.0 -m "First Version"
or
$ git tag -a v1.0 -m "First Version" 42c046f4a8


Check Tagging

$ git show
$ git show v1.0


Push Tag to GitHub

$git push origin v1.0




From Second Times

$ git pull origin master
$ git tag -a v2.0 -m "Delete Model Column in Hosts"
$ git show
$ git push origin v2.0







Git - How to use Git.




middleware/version-control/git/tag_github.html.txt ยท Last modified: 2021/09/06 by admin

Page Tools