Skip to content

Commit

Permalink
Add support for additional arguments of git commit (#23)
Browse files Browse the repository at this point in the history
* Add support for additional arguments of git commit

* additional-args: Make additional arguments optional
  • Loading branch information
sbimochan authored Jul 21, 2019
1 parent 777f675 commit f2dea8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commit
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ done

if [ "$IS_IGNORED" == false ]; then
# Edit your config here
git commit -m "$CURRENT_BRANCH: $1"
git commit -m "$CURRENT_BRANCH: $1" ${@:2}
else
git commit -m "$1"
git commit -m "$1" ${@:2}
fi

0 comments on commit f2dea8d

Please sign in to comment.