Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [Track upstream branch](#track-upstream-branch)
* [Delete local branch](#delete-local-branch)
* [Delete remote branch](#delete-remote-branch)
* [Create tag](#create-tag)
* [Push tag](#push-tag)
* [Delete local tag](#delete-local-tag)
* [Delete remote tag](#delete-remote-tag)
* [Undo local changes with the last content in head](#undo-local-changes-with-the-last-content-in-head)
Expand Down Expand Up @@ -293,6 +295,18 @@ __Alternatives:__
git push origin :<remote_branchname>
```


## Create tag
```sh
git tag <tag-name>
```


## Push tag
```sh
git push origin <tag-name>
```

## Delete local tag
```sh
git tag -d <tag-name>
Expand Down