Skip to content

Commit

Permalink
Merge pull request #4 from lxfu1/fix/r-command
Browse files Browse the repository at this point in the history
fix: 修复 r 命令
  • Loading branch information
lxfu1 authored May 10, 2022
2 parents bd79e4e + a422949 commit 740a6b5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## 更新日志

### 1.0.3

- fix: 修复 `r` 命令

### 1.0.2

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

### 1.0.1

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

### 1.0.0

发布正式版本
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,3 @@ $ npm i -g @lxfu/gm
- `gm co branch` : 相当于 `git checkout branch`
- `gm cb branch` : 相当于 `git checkout -b branch`

## 更新日志

### 1.0.2

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

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

发布正式版本
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.2",
"version": "1.0.3",
"description": "Git branch manger",
"bin": "./bin/index.js",
"scripts": {},
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ program
.description("Git commit information")
.action(onCommit);

program.command("r <commit id>").description("Git reset").action(onReset);
program.command("r <commit-id>").description("Git reset").action(onReset);

program.command("p").description("Git push").action(onPush);
program
Expand Down

0 comments on commit 740a6b5

Please sign in to comment.