File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
# go-git-commands
2
2
3
- ## commit
3
+ ## checkout
4
+ Creates a new branch from the current branch using naming strategy ` <type>/<ticket-id>/<branch-name> ` .
5
+ Supported types are ` FEAT ` , ` FIX ` , ` IMPR ` , ` OPS ` .
4
6
5
- Uses branch name to detrmine the commit message.
6
- If the branch name is ` FIX/FE-1234/branch-name ` then the commit message will be ` [FIX] [FE-1234] commit-message ` .
7
7
8
8
### Install
9
9
10
10
``` bash
11
- brew install mrados7/main/commit
11
+ brew install mrados7/main/checkout
12
12
# or
13
- go install github.com/mrados7/go-git-commands/commit @latest
13
+ go install github.com/mrados7/go-git-commands/checkout @latest
14
14
```
15
15
16
-
17
16
### Usage
18
17
19
18
``` bash
20
- commit
19
+ checkout
21
20
```
22
21
23
- ## checkout
24
- Creates a new branch from the current branch using naming strategy ` <type>/<ticket-id>/<branch-name> ` .
25
- Supported types are ` FEAT ` , ` FIX ` , ` IMPR ` , ` OPS ` .
22
+ ## commit
26
23
24
+ Uses branch name to detrmine the commit message.
25
+ If the branch name is ` FIX/FE-1234/branch-name ` then the commit message will be ` [FIX] [FE-1234] commit-message ` .
27
26
28
27
### Install
29
28
30
29
``` bash
31
- brew install mrados7/main/checkout
30
+ brew install mrados7/main/commit
32
31
# or
33
- go install github.com/mrados7/go-git-commands/checkout @latest
32
+ go install github.com/mrados7/go-git-commands/commit @latest
34
33
```
35
34
35
+
36
36
### Usage
37
37
38
38
``` bash
39
- checkout
39
+ commit
40
40
```
You can’t perform that action at this time.
0 commit comments