File tree Expand file tree Collapse file tree 9 files changed +37
-24
lines changed Expand file tree Collapse file tree 9 files changed +37
-24
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ if [ -z " $1 " ]
3
+ then
4
+ git commit -am ' build: ' -e
5
+ else
6
+ if [ -z " $2 " ]
7
+ then
8
+ git commit -am " build: $1 "
9
+ else
10
+ echo " chore($1 ): $2 "
11
+ git commit -am " build($1 ): $2 "
12
+ fi
13
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' chore: ' -e
4
+ git commit -am ' chore: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " chore: $1 "
8
+ git commit -am " chore: $1 "
9
9
else
10
10
echo " chore($1 ): $2 "
11
- git commit -m " chore($1 ): $2 "
11
+ git commit -am " chore($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' docs: ' -e
4
+ git commit -am ' docs: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " docs: $1 "
8
+ git commit -am " docs: $1 "
9
9
else
10
10
echo " docs($1 ): $2 "
11
- git commit -m " docs($1 ): $2 "
11
+ git commit -am " docs($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' feat: ' -e
4
+ git commit -am ' feat: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " feat: $1 "
8
+ git commit -am " feat: $1 "
9
9
else
10
10
echo " feat($1 ): $2 "
11
- git commit -m " feat($1 ): $2 "
11
+ git commit -am " feat($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' fix: ' -e
4
+ git commit -am ' fix: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " fix: $1 "
8
+ git commit -am " fix: $1 "
9
9
else
10
10
echo " fix($1 ): $2 "
11
- git commit -m " fix($1 ): $2 "
11
+ git commit -am " fix($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' localize: ' -e
4
+ git commit -am ' localize: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " localize: $1 "
8
+ git commit -am " localize: $1 "
9
9
else
10
10
echo " localize($1 ): $2 "
11
- git commit -m " localize($1 ): $2 "
11
+ git commit -am " localize($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' refactor : ' -e
4
+ git commit -am ' refact : ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " refactor : $1 "
8
+ git commit -am " refact : $1 "
9
9
else
10
10
echo " refactor($1 ): $2 "
11
- git commit -m " refactor ($1 ): $2 "
11
+ git commit -am " refact ($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' style: ' -e
4
+ git commit -am ' style: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " style: $1 "
8
+ git commit -am " style: $1 "
9
9
else
10
10
echo " style($1 ): $2 "
11
- git commit -m " style($1 ): $2 "
11
+ git commit -am " style($1 ): $2 "
12
12
fi
13
13
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [ -z " $1 " ]
3
3
then
4
- git commit -m ' test: ' -e
4
+ git commit -am ' test: ' -e
5
5
else
6
6
if [ -z " $2 " ]
7
7
then
8
- git commit -m " test: $1 "
8
+ git commit -am " test: $1 "
9
9
else
10
10
echo " test($1 ): $2 "
11
- git commit -m " test($1 ): $2 "
11
+ git commit -am " test($1 ): $2 "
12
12
fi
13
13
fi
You can’t perform that action at this time.
0 commit comments