diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..7b3e9c5 --- /dev/null +++ b/CHANGELOG.md @@ -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 + +发布正式版本 \ No newline at end of file diff --git a/README.md b/README.md index b8e4547..2031870 100644 --- a/README.md +++ b/README.md @@ -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 - -发布正式版本 diff --git a/package.json b/package.json index bb1c5fe..742d26a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lxfu/gm", - "version": "1.0.2", + "version": "1.0.3", "description": "Git branch manger", "bin": "./bin/index.js", "scripts": {}, diff --git a/src/index.js b/src/index.js index 3005783..4efdabf 100644 --- a/src/index.js +++ b/src/index.js @@ -40,7 +40,7 @@ program .description("Git commit information") .action(onCommit); -program.command("r ").description("Git reset").action(onReset); +program.command("r ").description("Git reset").action(onReset); program.command("p").description("Git push").action(onPush); program