#!/bin/bash
#cd /config/
hassio homeassistant check
git add .
git status
echo -n "Enter the Description for the Change: " [Minor Update]
read CHANGE_MSG
git commit -m "${CHANGE_MSG}"
git push origin master
exit
running this, as per documentation, leads to; hassio explaing what commands are available, then complaining
fatal: pathspec '.?' did not match any files
' is not a git command. See 'git --help'.
The most similar command is
status
': not a valid identifier the Change: [Minor Update]
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
fatal: invalid refspec 'master?'
Anyone care to shed some light on this? Thanks.