awips2/tools/scripts/ucommit
Richard Peter b3fd8e5480 Issue #2726: Edex graceful shutdown.
Refactored to use inheritance and separate logic where possible.
             Addressed comments.

Change-Id: I9e62414cd83121575bdf99a3b47466a7585bedb6

Former-commit-id: dbba727f3d [formerly dbba727f3d [formerly 6e015b3f61c20635077d6e8271e9b763e5a32fe1]]
Former-commit-id: 17196b5dcd
Former-commit-id: 8b279966d1
2014-04-14 13:10:11 -05:00

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