Skip to content

Commit

Permalink
chore: changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 committed May 13, 2022
1 parent 81e24f1 commit 0c4c875
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
## 更新日志

### 1.0.4

- feat: 新增 `lg` 命令

- fix: 修复 `p``pr` 命令

### 1.0.3

- fix: 修复 `r` 命令

### 1.0.2

- `l` 命令变更为 `b`
- `l` 命令变更为 `b`

### 1.0.1

新增 `a cm r p pr pl co cb` 命令

### 1.0.0

发布正式版本
发布正式版本
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ $ npm i -g @lxfu/gm
- `gm cm commitInfo` : 相当于 `git commit -m commitInfo`
- `gm r commitId` : 相当于 `git reset commitId`
- `gm p` : 相当于 `git push`
- `gm p -f`: 相当于 `git push -f`
- `gm pr` : 用于没有远程分支的提交
- `gm pr` : 相当于 `git push origin HEAD`
- `gm pr branch` : 相当于 `git push --set-upstream origin branch`
- `gm pr [-f]` : 相当于 `git push origin HEAD`
- `gm pr branch [-f]` : 相当于 `git push --set-upstream origin branch`
- `gm pl` : 相当于 `git pull`
- `gm co branch` : 相当于 `git checkout branch`
- `gm cb branch` : 相当于 `git checkout -b branch`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lxfu/gm",
"version": "1.0.3",
"version": "1.0.4",
"description": "Git branch manger",
"bin": "./bin/index.js",
"scripts": {},
Expand Down

0 comments on commit 0c4c875

Please sign in to comment.