awips2/tools/scripts/ucommit
Steve Harris 61f269f54c 12.9.1-5 baseline
Former-commit-id: d85b989f77196d20eb2d2a21cf4daa13d50474ae
2012-08-21 15:27:03 -05:00

14 lines
269 B
Bash

#!/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