rosdump: Easier to navigate commit messages

This commit is contained in:
Lauri Võsandi 2023-08-26 08:54:04 +03:00
parent 09a9bc4115
commit 54207c482c

View File

@ -23,7 +23,7 @@ data:
done
if [[ `git status --porcelain` ]]; then
echo "Attempting Git check in"
git commit -m "Update $(git ls-files -m) file(s)"
git commit -m "$(git diff --cached --shortstat)"
git push
else
echo "No changes to commit"