Skip to content

Commit

Permalink
further development
Browse files Browse the repository at this point in the history
  • Loading branch information
cskarby committed Aug 23, 2023
1 parent 57195aa commit e0b9529
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions update-github.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#/bin/bash
# Pass commit message as first parameter
if [ -z "${1}" ]; then
echo "ERROR: No commit message provided. Please see usage below for an example." >>/dev/stderr
echo "Warning: No commit message provided. Please see usage below for an example." >>/dev/stderr
echo "Usage: $0 \"What I changed and why\"" >>/dev/stderr
exit 1
fi
cd $(dirname $0)
git add .
git commit -m "${1}"
git add ocdp/*/*.R ocdp/*/*.sh *.sh
git commit -m "${1:-further development}"
git pull --ff
git push

0 comments on commit e0b9529

Please sign in to comment.