Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dc7a62b

Browse files
committed
Add create local tag tip
1 parent 1a97486 commit dc7a62b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

‎README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
3232
* [Track upstream branch](#track-upstream-branch)
3333
* [Delete local branch](#delete-local-branch)
3434
* [Delete remote branch](#delete-remote-branch)
35+
* [Create local tag](#create-local-tag)
3536
* [Delete local tag](#delete-local-tag)
3637
* [Delete remote tag](#delete-remote-tag)
3738
* [Undo local changes with the last content in head](#undo-local-changes-with-the-last-content-in-head)
@@ -316,6 +317,11 @@ git push origin :<remote_branchname>
316317
git branch -dr <remote/branch>
317318
```
318319

320+
## Create local tag
321+
```sh
322+
git tag <tag-name>
323+
```
324+
319325
## Delete local tag
320326
```sh
321327
git tag -d <tag-name>

‎tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@
6565
"title": "Delete remote branch",
6666
"tip": "git push origin --delete <remote_branchname>",
6767
"alternatives": ["git push origin :<remote_branchname>", "git branch -dr <remote/branch>"]
68+
}, {
69+
"title": "Create local tag",
70+
"tip": "git tag <tag-name>"
6871
}, {
6972
"title": "Delete local tag",
7073
"tip": "git tag -d <tag-name>"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /