cmdref.net - Cheat Sheet and Example

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

User Tools

Site Tools


Sidebar








Etc


Reference














.

middleware:version-control:git:tag_github.html



Git - How to use Git.

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: 2018/04/27 by admin

Page Tools