11 lines
150 B
Bash
Executable File
11 lines
150 B
Bash
Executable File
#!/bin/bash
|
|
if [ $# -eq 0 ]; then
|
|
git commit -v
|
|
else
|
|
if [ "$1" = "--amend" ]; then
|
|
git commit -v --amend
|
|
else
|
|
git commit -m "$*"
|
|
fi
|
|
fi
|