Fix g commit so it takes all the arguments as the message not just the first.
This commit is contained in:
parent
e8609419d9
commit
402e56cdff
1 changed files with 2 additions and 1 deletions
3
bin/g
3
bin/g
|
|
@ -137,7 +137,8 @@ if [ -z "$2" ]; then
|
||||||
read -ep 'Message: ' msg
|
read -ep 'Message: ' msg
|
||||||
git commit -m "$msg"
|
git commit -m "$msg"
|
||||||
else
|
else
|
||||||
git commit -m "$2"
|
msg="${@:2}"
|
||||||
|
git commit -m "$msg"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue