Git study Day02 標籤
1.標籤
新增標籤
$ git tag v1.0
$ git tab
v1.0
獲取v1.0版本程式碼
$ git checkout tags/v1.0
Note: checking out 'tags/v1.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at fc8fc32... one
新建分支,修復v1.0版本bug
$ git checkout -b fixbug
合併bug分支
$ git merge fixbug
$ git branch -d fixbug
相關文章
- Git 標籤Git
- Git tag 標籤Git
- Git (10)-- 打標籤(git tag)Git
- Git-tag標籤Git
- Git 與標籤管理Git
- Git刪除tag標籤Git
- git學習——打標籤Git
- Git檢視所有tag標籤Git
- Git tag標籤用法詳解Git
- Git(標籤、分支和合並)2Git
- 【第九篇】- Git 標籤Git
- Git 系列教程(9)- 打標籤Git
- Git打標籤與版本控制規範Git
- Git tag標籤與branch分支 區別Git
- Git檢視tag標籤建立時間Git
- 【記錄】Git 是如何打標籤的Git
- [記錄] Git 是如何打標籤的Git
- Git應用詳解第八講:Git標籤、別名與Git gcGitGC
- Git tag標籤與branch分支的區別Git
- git 入門教程之里程碑式標籤Git
- properties標籤和typeAliases標籤
- HTML標籤(基本標籤的使用)HTML
- VOC標籤轉化為YOLO標籤YOLO
- Git 開源的版本控制系統-05-tags 標籤管理Git
- Git標籤適合快速改變的程式碼 – BIT-101Git
- HTML <a> 標籤HTML
- html標籤HTML
- base標籤
- JSTL標籤JS
- K8S標籤與標籤選擇器K8S
- HTML簡介,結構,標籤以及標籤語義HTML
- git警告之——warning: LF will be replaced by CRLF in src/views/study/explain.vueGitViewAIVue
- Jenkins自動化部署伺服器及git 提交及git tag標籤版本更新流程,超詳細!Jenkins伺服器Git
- html標籤整理HTML
- HTML 常用標籤HTML
- HTML <label> 標籤HTML
- HTML <body>標籤HTML
- 標籤記錄
- html基本標籤HTML