File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
32
32
* [ Track upstream branch] ( #track-upstream-branch )
33
33
* [ Delete local branch] ( #delete-local-branch )
34
34
* [ Delete remote branch] ( #delete-remote-branch )
35
+ * [ Create local tag] ( #create-local-tag )
35
36
* [ Delete local tag] ( #delete-local-tag )
36
37
* [ Delete remote tag] ( #delete-remote-tag )
37
38
* [ Undo local changes with the last content in head] ( #undo-local-changes-with-the-last-content-in-head )
@@ -318,6 +319,11 @@ git push origin :<remote_branchname>
318
319
git branch -dr < remote/branch>
319
320
```
320
321
322
+ ## Create local tag
323
+ ``` sh
324
+ git tag < tag-name>
325
+ ```
326
+
321
327
## Delete local tag
322
328
``` sh
323
329
git tag -d < tag-name>
Original file line number Diff line number Diff line change 65
65
"title" : " Delete remote branch" ,
66
66
"tip" : " git push origin --delete <remote_branchname>" ,
67
67
"alternatives" : [" git push origin :<remote_branchname>" , " git branch -dr <remote/branch>" ]
68
+ }, {
69
+ "title" : " Create local tag" ,
70
+ "tip" : " git tag <tag-name>"
68
71
}, {
69
72
"title" : " Delete local tag" ,
70
73
"tip" : " git tag -d <tag-name>"
You can’t perform that action at this time.
0 commit comments