File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Smart Commit
22
3- Create a commit prefixed with current branch name.
3+ Create a commit prefixed with the current branch name.
44
55## Installation
66
@@ -16,18 +16,20 @@ curl https://raw.githubusercontent.com/sbimochan/smart-commit/master/commit -o /
1616
1717``` shell
1818$ commit " New feature"
19- ```
20-
21- will translate to
2219
23- ``` shell
24- $ git commit -m " EF-803: New feature"
25- ```
20+ # translates to
21+ git commit -m " EF-803: New feature"
22+ ```
2623
2724* If your current branch is either of ` dev ` , ` uat ` , ` qa ` , ` staging ` or ` master `
2825
29- ``` commit "New feature" ```
26+ ``` shell
27+ $ commit " New feature"
28+
29+ # translates to
30+ git commit -m " New feature"
31+ ```
3032
31- will execute without prefixing the branch name.
33+ ## License
3234
33- ` git commit -m "New feature" `
35+ [ MIT ] ( LICENSE )
You can’t perform that action at this time.
0 commit comments