awips2/tools/scripts/ucommit
Steve Harris 2d928d328e 12.9.1-5 baseline
Former-commit-id: a1d931fd44 [formerly 61f269f54c] [formerly a1d931fd44 [formerly 61f269f54c] [formerly f2fac39428 [formerly d85b989f77196d20eb2d2a21cf4daa13d50474ae]]]
Former-commit-id: f2fac39428
Former-commit-id: 7fb0b17bd5 [formerly 72824561cb]
Former-commit-id: 9b5c2094ed
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