Skip to content

Commit 13c2ccf

Browse files
committed
readme: Update information if in dev/uat/qa/master
1 parent 9f25c31 commit 13c2ccf

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,27 @@
22
Create commit with current branch name
33

44
For example:
5-
If you're current branch name is EF-803
5+
If your current branch name is ```EF-803```
66

77
```gcommit "New feature"```
88

99
will produce command
1010

1111
```git commit -m "EF-803: New feature"``` and execute it
1212

13+
If your current branch is ```dev or uat or qa or master```
14+
15+
```gcommit "New feature"```
16+
17+
will produce default command
18+
19+
```git commit -m "New feature"``` and execute it
20+
1321
### Installation
14-
``` cd ~```
22+
```cd ~```
1523

16-
``` git clone https://github.com/sbimochan/smart-commit.git```
24+
```git clone https://github.com/sbimochan/smart-commit.git```
1725

18-
``` alias gcommit="sh ~/bin/smart-commit/commit"```
26+
```alias gcommit="sh ~/bin/smart-commit/commit"```
1927

2028
And restart the terminal

0 commit comments

Comments
 (0)