File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22Create commit with current branch name
33
44For 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
99will 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
2028And restart the terminal
You can’t perform that action at this time.
0 commit comments