Former-commit-id:4d2baf48d9
[formerlyaa46aa3713
] [formerly4d2baf48d9
[formerlyaa46aa3713
] [formerlya2c88aee12
[formerly 44388508c45f2c560301558c4fb297b806ba55a7]]] Former-commit-id:a2c88aee12
Former-commit-id:927fd978b4
[formerlybc15e39e5e
] Former-commit-id:a9dafc2233
14 lines
269 B
Bash
Executable file
14 lines
269 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ -z "$1" ]
|
|
then
|
|
echo "Enter a commit message in the form: 'Issue #xxx did something'"
|
|
else
|
|
# Add all files to index
|
|
git add -A
|
|
|
|
# Commit using first argument as message
|
|
git commit -m "$1"
|
|
|
|
git status
|
|
fi
|