12 lines
153 B
Bash
Executable File
12 lines
153 B
Bash
Executable File
#!/bin/bash
|
|
gitaddcommit ()
|
|
{
|
|
gitadd;
|
|
if [ -n "$1" ]; then
|
|
git commit -m "$1";
|
|
else
|
|
git commit;
|
|
fi
|
|
}
|
|
gitaddcommit "$@"
|