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 1b89495

Browse files
authored
Merge pull request #199 from itaikla/add-create-tag-tip
Add a tip for create local tag
2 parents ba02cea + dc7a62b commit 1b89495

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)
@@ -318,6 +319,11 @@ git push origin :<remote_branchname>
318319
git branch -dr <remote/branch>
319320
```
320321

322+
## Create local tag
323+
```sh
324+
git tag <tag-name>
325+
```
326+
321327
## Delete local tag
322328
```sh
323329
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 によって変換されたページ (->オリジナル) /