Skip to content

Commit 0c4c875

Browse files
committed
chore: changelog
1 parent 81e24f1 commit 0c4c875

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
## 更新日志
22

3+
### 1.0.4
4+
5+
- feat: 新增 `lg` 命令
6+
7+
- fix: 修复 `p``pr` 命令
8+
39
### 1.0.3
410

511
- fix: 修复 `r` 命令
612

713
### 1.0.2
814

9-
- `l` 命令变更为 `b`
15+
- `l` 命令变更为 `b`
1016

1117
### 1.0.1
1218

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

1521
### 1.0.0
1622

17-
发布正式版本
23+
发布正式版本

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ $ npm i -g @lxfu/gm
2222
- `gm cm commitInfo` : 相当于 `git commit -m commitInfo`
2323
- `gm r commitId` : 相当于 `git reset commitId`
2424
- `gm p` : 相当于 `git push`
25+
- `gm p -f`: 相当于 `git push -f`
2526
- `gm pr` : 用于没有远程分支的提交
26-
- `gm pr` : 相当于 `git push origin HEAD`
27-
- `gm pr branch` : 相当于 `git push --set-upstream origin branch`
27+
- `gm pr [-f]` : 相当于 `git push origin HEAD`
28+
- `gm pr branch [-f]` : 相当于 `git push --set-upstream origin branch`
2829
- `gm pl` : 相当于 `git pull`
2930
- `gm co branch` : 相当于 `git checkout branch`
3031
- `gm cb branch` : 相当于 `git checkout -b branch`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lxfu/gm",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Git branch manger",
55
"bin": "./bin/index.js",
66
"scripts": {},

0 commit comments

Comments
 (0)