Skip to content

Commit

Permalink
Add git tips
Browse files Browse the repository at this point in the history
  • Loading branch information
mzlogin committed Oct 23, 2018
1 parent 9497698 commit 6f10fd4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _wiki/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,16 @@ git push origin :refs/tags/v0.0.9
git push origin --delete tag [tagname]
```

### 基于某次 commit 创建 tag

```
git tag <tag name> <commit id>
```

```
git tag v1.0.0 ef0120
```

### 清除未跟踪文件

```
Expand Down

0 comments on commit 6f10fd4

Please sign in to comment.