commit script tweaks

This commit is contained in:
Ladd 2025-12-28 11:42:55 -06:00
parent c27f53cd92
commit 76cc098697

20
commit
View File

@ -9,8 +9,20 @@ set -eo pipefail
git checkout dev
./sync
git add .
git commit
git push
ssh lentilz 'cd ~/code/gravity-dev && git add . && git stash && git pull && git stash apply && npm i'
if git diff; then
git add .
git commit "$@"
git push
fi
ssh lentilz "
set -oe pipefail
export NVM_DIR=\"\$HOME/.nvm\"
[ -s \"\$NVM_DIR/nvm.sh\" ] && \. \"\$NVM_DIR/nvm.sh\" # This loads nvm
cd ~/code/gravity-dev
git add .
git stash
git pull
git stash apply
npm i
"