File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
## 更新日志
2
2
3
+ ### 1.0.4
4
+
5
+ - feat: 新增 ` lg ` 命令
6
+
7
+ - fix: 修复 ` p ` 、` pr ` 命令
8
+
3
9
### 1.0.3
4
10
5
11
- fix: 修复 ` r ` 命令
6
12
7
13
### 1.0.2
8
14
9
- - ` l ` 命令变更为 ` b `
15
+ - ` l ` 命令变更为 ` b `
10
16
11
17
### 1.0.1
12
18
13
19
新增 ` a cm r p pr pl co cb ` 命令
14
20
15
21
### 1.0.0
16
22
17
- 发布正式版本
23
+ 发布正式版本
Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ $ npm i -g @lxfu/gm
22
22
- ` gm cm commitInfo ` : 相当于 ` git commit -m commitInfo `
23
23
- ` gm r commitId ` : 相当于 ` git reset commitId `
24
24
- ` gm p ` : 相当于 ` git push `
25
+ - ` gm p -f ` : 相当于 ` git push -f `
25
26
- ` 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 `
28
29
- ` gm pl ` : 相当于 ` git pull `
29
30
- ` gm co branch ` : 相当于 ` git checkout branch `
30
31
- ` gm cb branch ` : 相当于 ` git checkout -b branch `
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @lxfu/gm" ,
3
- "version" : " 1.0.3 " ,
3
+ "version" : " 1.0.4 " ,
4
4
"description" : " Git branch manger" ,
5
5
"bin" : " ./bin/index.js" ,
6
6
"scripts" : {},
You can’t perform that action at this time.
0 commit comments